Versioning and changelog
How the Adsly API changes without breaking integrations — what counts as a breaking change, how new fields are added — and every change so far.
Versioning
The version is in the path: /api/v1. Within v1 we only make additive changes:
| Additive (can happen any time) | Breaking (only in a new version) |
|---|---|
| new endpoints | removing or renaming an endpoint or field |
| new optional request fields | a new required field |
| new response fields | changing a field’s type or meaning |
new values in enums (status, error code) | removing an enum value |
| new error codes | making a valid request invalid |
So write clients that ignore fields they don’t know and handle unknown enum values and error codes gracefully. A breaking change would ship as /api/v2, announced here first, with v1 kept running alongside it.
Changelog
2026-10-26 — period totals
- New: every
topCampaignsrow ofGET /v1/stats/analyticscarriescpm— spend per 1,000 views over the period — next tocpcandcpa. - Fix: a window of one or two days now adds up exactly to the same days asked as one range. The first minutes after midnight (UTC) used to drop out of such windows, so a single day came back about 1–2% low; ranges of three days and more were already right and do not change.
- Fix: a window of up to two days that starts more than 29 days back returned zeros; it now returns that day’s numbers.
2026-10-08 — ad schedule
- New:
schedule— show a campaign only on chosen weekdays and hours. Set it on create,PATCH /v1/campaigns/{ad_id}, copy, or many campaigns at once with the bulk actionset_schedule;nullremoves it.GET /v1/campaigns/{ad_id}returns it. Format: Schedule. It doesn’t switch the campaign on or off. - Pausing, resuming and editing a campaign keep its schedule; copies and recreated campaigns inherit it.
- Fix:
PATCH /v1/campaigns/{ad_id}with onlycpm,activeand/orschedulesent the campaign back to Telegram’s review. These now go through Telegram’s own bid and status forms and never trigger a review; other fields still do (Telegram’s rule) — see Edit. - Fix: setting a schedule on a campaign with no budget could send it back to review. Such a campaign now answers
400withparam: "schedule"and is left untouched — add budget first, then set the schedule. GET /v1/campaigns/{ad_id}is now current: it re-reads the ad from Telegram when our copy is older than 5 minutes, soschedule,textandviews_per_userreflect changes made directly in Telegram. New fieldsynced_atsays when the ad was last read. See Freshness.
2026-10-08 — campaign management
- New: write access. Keys can now carry Manage campaigns:
POST /v1/campaigns(create, up to 100 per call),PATCH /v1/campaigns/{ad_id},POST …/pause,…/resume,…/budget,…/copy,POST /v1/campaigns/bulk,DELETE /v1/campaigns/{ad_id},POST /v1/media. Existing keys stay read-only until you switch it on. - New reads:
GET /v1/campaigns/{ad_id}(one campaign with targeting),GET /v1/tasks/{id},GET /v1/groups,GET /v1/targeting. - Agency team members can create keys; a key reaches the cabinets shared with the member, at their access level. The agency owner sees all team keys (API & Webhooks → Team keys) and can revoke them.
Idempotency-Keyrequired on create, copy, bulk and budget.- Separate write rate limit: 30 requests per minute, apart from the 60 reads.
GET /v1/account/infoaddsaccess_level,currency,balance,balance_updated_at,min_budget,features.- Errors add
codeandrequest_idnext to the unchangederrortext. A500no longer includes internal error text. account_idis accepted everywhereaccountIdwas (both work).- Fix:
GET /v1/stats?period=allreturned cost per click ascpa; it is now cost per action, like every other period.
2026-10-04
- URL filters apply to both webhooks;
status_changeonly reaches keys whose owner can see the cabinet.
2026-09-18
- Conversions get their own budget (20 events/s) apart from the read limit; batches of up to 1,000 events.
2026-06-30
- Inbound conversions:
POST /v1/postback,GET /v1/ingest/{token},GET /v1/conversions.
Earlier
GET /v1/campaignswith cursor pagination and thebot_username,promote_domainandtypefilters; stats endpoints;status_changeandhourly_digestwebhooks.
Updated 2026-10-26