How it works
The purchase happens on your site. We show the banner, count impressions and clicks, and send the visitor to you with tags in the link. You can report the sale back — then the report shows revenue next to clicks.
banner → https://your-site/catalog?utm_source=3dprintpricing&…&erid=…&pp_click_id=…
│
your site saves pp_click_id with the order
│
POST /ads-api/v1/conversions (order id, amount) → report: clicks, sales, revenueWhat we add to the link:
utm_source | always 3dprintpricing |
utm_medium | web_banner or app_banner |
utm_campaign | campaign name or id |
utm_content | placement: dashboard, calculator, home… |
erid | ad token required by Russian law |
pp_click_id | unique click id (UUID); the app sends it since version 11.0 |
Tags you already put into the link are kept as they are.
No personal data in either direction: we don't share who clicked, and the API rejects extra fields such as a buyer's name or phone.
Advertiser token
We issue the token when the placement starts. It only opens your own campaigns. Send it as a header; tokens in the URL are not supported. A cabinet token (pat_…) does not work here.
Authorization: Bearer ads_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxThe token stays on this page only and disappears when you leave it.
/ads-api/v1/meCheck the token
Who the token belongs to.
{ "id": 1, "name": "BRAND", "timezone": "Europe/Moscow", "currency": "RUB" }Campaigns and statistics
/ads-api/v1/campaignsYour campaigns
Every banner on the site (web) and in the app (app), including finished ones.
{
"items": [
{
"id": "web-12",
"channel": "web",
"title": "Филамент от производителя",
"status": "active",
"placements": ["dashboard"],
"link": "https://example.com/catalog",
"erid": "2VtzqwXYZab",
"starts_at": null,
"ends_at": null
}
]
}status: active, scheduled, expired, disabled, deleted.
/ads-api/v1/statsStatistics
Impressions, clicks, CTR, sales and revenue for a period. Days are Moscow time.
date_from,date_to: YYYY-MM-DD, last 30 days by default, up to 366 daysgroup_by: day, campaign, channel, placement, platform — several separated by commasformat: json or csv
GET /ads-api/v1/stats?date_from=2026-12-01&date_to=2026-12-31&group_by=campaign,placement
{
"date_from": "2026-12-01", "date_to": "2026-12-31",
"timezone": "Europe/Moscow", "currency": "RUB",
"group_by": ["campaign", "placement"],
"rows": [
{ "campaign": "web-12", "placement": "dashboard",
"impressions": 4000, "clicks": 100, "ctr": 2.5, "conversions": 4, "revenue": 3292.0 }
],
"totals": { "impressions": 4000, "clicks": 100, "conversions": 4, "revenue": 3292.0, "ctr": 2.5 }
}Numbers above are an example of the format. Demo cabinet views are not counted. A repeated view of the same banner in the app counts again after 30 minutes. Sales without a click id come with an empty campaign.
Sales (conversions)
/ads-api/v1/conversionsReport a sale
Sending the same order_id again updates the sale instead of adding a second one.
POST /ads-api/v1/conversions
Content-Type: application/json
{
"order_id": "A-1042",
"click_id": "5f0c7a1e-3c1b-4b51-9c1b-0a7d5a2f9e11",
"amount": 823.00,
"status": "paid"
}order_id: your order number, requiredclick_id: pp_click_id from the link;promo_code: promo code. At least one of the two is requiredamount: order amount in rublesstatus: created, paid (default), cancelled. Revenue counts paid ones, cancelled are excludedoccurred_at: order time (ISO 8601), now by default
201 — sale added · 200 — sale updated/ads-api/v1/conversionsReported sales
Parameters: date_from, date_to, page, per_page (up to 500).
Errors and limits
401: no token, or it was revoked or reissued403: access is switched off404: this click_id is not among your clicks422: wrong parameters or extra fields429: limit exceeded: 60 requests a minute per token, 120 for reporting sales