AurumClick
ChaptersIntegrations

DocumentationTeam and integrations

Integrations

On this page
  1. Embedding into a website (the campaign’s “Integration” tab)
  2. WordPress: the aurumclick-tracker plugin
  3. Ad platforms
  4. Facebook Conversions API (server-side pixel)
  5. Ad account costs
  6. Domains and infrastructure
  7. AI assistant (optional)
  8. Messenger notifications
  9. Admin API
  10. Ad platform statistics: impressions, reach, clicks, spend — POST /admin_api/v1/ad_stats
  11. Cost transfer from FBTool, Dolphin, CRM and your own scripts

Embedding a campaign into a website (Click API, KClient, WordPress, banners), ad platforms (Facebook CAPI and costs, Taboola, TikTok, Google Ads), domain registrars, Telegram and Slack notifications, Admin API and cost transfer.

Embedding into a website (the campaign’s “Integration” tab)

Method When
Direct link regular traffic: https://<domain>/<alias>?sub_id_1=…
Click API v3 your server asks the tracker for a decision: /click_api/v3?token=<campaign token>&… — a JSON response with URL/HTML, info and log (Keitaro compatible)
KClient PHP a PHP site: download kclient.php from the tab and insert the snippet; works via Click API
KClient JS /js/kclient.js — the same in JS
Tracking script /js/kt.js on an existing landing without splits: creates a click on load, {offer} links go through the tracker, KTracking.reportConversion(...) sends a conversion. Do not put it into local offers — clicks would double
WordPress the aurumclick-tracker plugin (an archive in the tab): a click when the page opens, {offer} in the text, a conversion via a shortcode — see below
iframe / script / frameset / pixel ready-made snippets
JS banner <div id="vb-…"></div><script async src=…> — the HTML of an action landing is inserted into the container; several landings — banner A/B tests, “Do nothing” — the banner is hidden; every impression is a click
QR code an SVG with the campaign link

Click API is turned on in a campaign explicitly (the “Integration” tab → “Click API”): it is off in a new campaign — it is used by KClient PHP/JS, the tracking script and WordPress. Campaigns moved from Keitaro get it turned on (in Keitaro Click API works for all campaigns). A request with the campaign token is a server integration: the visitor’s IP, User-Agent and language are passed as parameters, log=1 (how the click went through the filters) and force_redirect_offer=1 are available. A request without a token (KClient JS and the tracking script by campaign alias) comes from the visitor’s browser: IP, User-Agent and language are taken only from the request itself, log and force_redirect_offer do not work — otherwise anyone who sees the link could substitute someone else’s IP and learn the offer and how the filters work.

Ready-made Keitaro clients work without changes: parameters are accepted both in the query string (GET) and as a form (POST); User-Agent — user_agent or ua, referrer — referrer or se_referrer (from se_referrer, as with a regular click, the keyword and the search engine are taken); the service parameters kversion, original_host, original_method, original_headers[…], uri, prefetch do not get into the campaign parameters. prefetch=1 (prefetching by Facebook and browsers) is a regular click: the visitor later sees the prefetched page, and an empty response would leave it empty. The response always has cookies (the click cookies: _subid, _token, uniqueness, binding — the client sets them on the site), cookies_ttl, uniqueness_cookie and all info fields; an image or PDF in body is base64, as in Keitaro. Site cookies that the client sends back (the Cookie header or original_headers[Cookie]) are taken into account for uniqueness and stream binding.

WordPress: the aurumclick-tracker plugin

  1. The campaign’s “Integration” tab → wordpress: download aurumclick-tracker.zip, in WordPress — Plugins → Add New → Upload Plugin. The campaign’s Click API must be turned on.
  2. Settings → AurumClick: Tracker URL (the campaign domain), Campaign token, Postback URL — the values are shown in the tab. The token applies to all pages; in the editor a page has an AurumClick block — its own token (another campaign) or “Do not track this page”.
  3. The stream in the tracker: the “Landings and offers” scheme, a landing of the “Action” type → “Do nothing” and offers — the WordPress page itself serves as the landing. The page path comes in the page parameter (the “Parameter” filter: page = /promo/) — this way different pages lead to different offers.
  4. In page text: <a href="{offer}"> — a click-through to the offer via the tracker ({offer:ID} — a specific offer of the stream, {subid} — the click tag, for example in a hidden form field).
  5. On the thank-you page: [aurumclick_postback status="lead" revenue="10" currency="USD"] ([send_postback] is an alias for pages from Keitaro; the other attributes are postback parameters: tid, sub_id_N…). Reloading the page does not duplicate the conversion; a page with the shortcode does not create a click.

Modes: “Show the page; {offer} links lead to the offer” (default) or “Redirect to the offer right away”. If the tracker decided otherwise (a redirect, a page for bots), WordPress returns the tracker’s response. The visitor’s click is stored in a signed cookie for a day or longer (by the campaign’s uniqueness period): a repeat view does not create a new click unless “Count every page view as a click” is on; ?_reset=1 — a new click. Tracked pages are not cached (DONOTCACHEPAGE and no-cache headers) — a cache plugin that ignores this has to be configured manually. “Debug” outputs the tracker log as an HTML comment at the bottom of the page — turn it on only while testing.

Tested on WordPress 7.1 (PHP 8.3) and 6.1 (PHP 7.4); the Russian translation of the settings works in WordPress 6.5 and later.

Ad platforms

The Integrations section. Connections are grouped by buyer group and sorted by name; each shows its number of campaigns. A connection has a “Name” (the buyer sets it, for example “Pixel MX — Julia”) and a “Buyer group” — so the list has no clutter. Keys are stored encrypted (AES-GCM) and are shown only masked in the interface and the API.

Common to all connections:

  • Enabled / paused — while paused, events are not sent (they wait in the queue and go out after the pause is lifted), and costs are not pulled.
  • Proxy — requests to the platform API go through it (from the same IP as the ad account).
  • Test — checks the keys; for costs — “Sync costs” now.
  • Clone — the copy is created paused and without campaigns: check the keys and enable it.
  • Tracker campaigns — which campaigns the connection applies to; the same can be switched in the campaign itself, on the “Ad integrations” tab. A copy of a campaign stays in the same connections.
  • Delete (confirmed by the name) — the keys are erased, the queue of unsent events is deleted; costs already spread over clicks remain.
  • Event queue — the send status of each event and the platform errors; retries on failures, the same event is never sent twice. Connection errors arrive as an “Integration error” notification. Meta limits (codes 4, 17, 613, 80004) and TikTok limits are temporary: the event is retried later. If the token has expired or been revoked, events wait in the queue (the connection “waits for keys”, checked every 30 minutes) and go out right after the token is replaced. “Retry failed” — events with an error over the last 7 days go back to the queue.

Facebook Conversions API (server-side pixel)

Pixel ID and token; “Conversion type → event” — which event is sent when a conversion moves to this type (for example, Lead → Lead, Sale → Purchase; empty — do not send); “Test event code” — for checking in Events Manager → Test events.

What is sent to Facebook:

  • event_id = the click subid — the browser pixel on the landing sends Lead with the same ID, and Facebook merges the browser and server events into one;
  • fbc (from the click’s fbclid and the click time), fbp, the visitor’s IP and User-Agent; without fbclid and fbp the event is not sent — Facebook would not be able to match it. fbc is built by Meta’s rule: the browser’s _fbc cookie is used only if it holds the same fbclid as the click link — a person who comes from an ad a second time gets the fbc of the new ad, not the previous one; a broken cookie is discarded; the domain index is the same as the pixel’s (fb.1. for example.com, fb.2. for example.co.uk). Only a public IP is sent — a private address (a proxy in front of the tracker) and service addresses are not sent;
  • country, region (for the USA — the state code), city; the lead’s phone (with the click country code), e-mail, first and last name — from the “Lead phone / Lead e-mail / Lead name — field” fields (a postback parameter or a click field) or from the postback parameters phone, email, name, first_name, last_name; everything is normalized to the Facebook format and hashed with SHA-256, for a double last name both variants are sent; an e-mail in a wrong format is not sent; values that the network has already sent as a SHA-256 hash are sent as is;
  • zip code, gender and date of birth — if the network sends them in the postback: zp (or zip, zipcode, zip_code, postal_code, postcode), ge (gender, sex: m/f, male/female, мужской/женский…), db (dob, birthday, birthdate, date_of_birth: 1990-04-15, 15.04.1990, 04/15/1990, 19900415; if the day and month cannot be told apart, both variants are sent); a Canadian region — as a two-letter province code;
  • event_id — the network’s order id from the postback’s tid, without a hash (a postback without tid — the click subid);
  • external_id — the click subid (or external_id from the postback); event_source_url — the landing or the campaign address with the click path (https://domain/alias, as in Keitaro; the default domain campaign — the path from the root); the amount and currency if the conversion has a payout.
  • Several hashes in one field are variants of the same value (a double last name: whole, joined and the first part; a phone with and without the country code), Meta matches by any of them. The S2S log (the entry window) shows “Request origin” (conversion, status, click, phone and name fields, the source of the page address) and the original values before hashing — they are stored only in the tracker (source, migration 00062).

Lead value adjusted for approval. A switch under “Conversion type → event”. When on, Lead and other unconfirmed conversions (the “Hold” group) are sent with value = payout × the offer’s approval forecast for the click’s country and source (the same forecast as in reports). Value optimization gravitates toward geos and audiences where leads get approved. Confirmed ones are sent with the full payout, rejected ones — with 0. While there is no forecast (fewer than 5 decided conversions in the tracker), the full payout is sent. The S2S log shows with which payout, which p and from which forecast level the event went out.

Match quality. A section in the connection: for each event over 24 h — how many there are and what share has fbc, fbp, phone, e-mail, IP, User-Agent and external_id (whether the key is present, values are not shown). The more keys, the more accurately Meta finds the account (Event Match Quality in Events Manager). Below are hints on what is missing and what to do: little fbc — the ad link loses fbclid; little fbp — the page has no browser pixel; few phones — set “Lead phone — field” or have the network send phone; few IPs — the tracker sees the proxy address instead of the visitor’s. Highlighting starts from 10 events in a row; COD usually has no e-mail, so there is no hint for it; PageView and ScrollDepth never have a phone or e-mail (“—”).

“Move from fbapi S2S postbacks” — if campaigns sent conversions to Facebook with an S2S postback to the fbapi script (pixel and token in the link), the button creates connections per pixel, adds the campaigns to them and turns off these S2S postbacks (they can be turned back on in the campaign).

PageView and scroll depth

The “Page views (PageView)” section in the connection: besides conversions, page views served by the tracker (local and preload pages) are sent to Facebook.

  • Offers — PageView when a visitor opens an offer page (a direct click or a click-through from a landing); Landings — the same for landings (pre-landings). In a new connection offers are on, in connections created before the update everything is off. To turn it on for all pixels at once — “PageView for all…” in the Facebook Conversions API card on the integrations page.
  • Scroll depth — the ScrollDepth event with the percent parameter for the selected thresholds (25, 50, 75, 90, 100 %): each threshold once per view and only from pages where PageView is on. To optimize ads by it, create a custom conversion in Events Manager: event ScrollDepth, rule percent = 50.

When it is sent: the page has loaded in the browser and executed JavaScript (after 4 s, on load or when leaving the page), and the click has an fbclid or an _fbp cookie. It is not sent for: bots, employees with the admin panel open, the preview and the landing check, simulation, external (redirect) pages, secondary pages (order.php, “thank you” — they have their own pixel), a paused connection or one without a Pixel ID. Facebook’s link prefetch (without executing the page) does not produce a PageView.

What is sent: event_id = pv.<subid>.o<offer id> (.l<id> — a landing; reloading the same page gives the same id, there is no second event), the page address and referrer, IP and User-Agent from the browser, the click’s fbc (or the _fbc cookie), the _fbp cookie, country/region/city, external_id — the same hash of the subid as in Lead and Purchase of this click (Meta links the view and the lead of one visitor).

Merging with the browser pixel. If the page has its own pixel, the tracker adds the server event’s eventID to fbq('track','PageView') and to the noscript image by itself — Meta counts the browser and server events as one. In the page editor the “Facebook Pixel” snippet already contains KTracking.getPageViewId().

Where to see it. The line “Last 24 h: sent · errors · skipped (no fbclid/fbp)” in the connection, the “Event queue” with the PageView/ScrollDepth filter, the S2S log (the “Event” column, search by subid), the click window → the “Server-side pixel” section. The page view log is kept for 7 days (Settings → Retention, 1–30); conversions — by the S2S log retention. Views go out as separate requests after conversions: Lead and Purchase do not wait for them and do not suffer from their errors.

Checking via Test events. In the connection, set the “Test event code” (Events Manager → Test events) and turn on “Offers”; open the campaign link with ?fbclid=test123 on a phone — PageView with the “Server” source appears in Test events (if the page has a pixel — “Browser” too, marked as deduplicated). In the tracker: click window → “Server-side pixel” → “sent”. Then remove the test code.

Ad account costs

  • Facebook · costs — a token, “Ad accounts” (picked from the list available to the token), “Match level” (campaign / ad set / ad) and “Click parameter with ID” — where the source writes the ID (usually sub_id_3 for the ad set); “Sync every, min”; the ad account time zone; “Hourly costs” — more accurate for hourly reports.
  • Taboola · costs — Client ID and Client Secret (Backstage API, issued by your Taboola account manager); the cost actually charged, by day, by campaign or by campaign and site (“Site parameter” — where the source writes {site}, in the Taboola template — source).
  • TikTok — Events API 2.0 by ttclid and costs; connected via OAuth (“Connect account”).
  • Google Ads — offline conversions by gclid/gbraid/wbraid and costs; OAuth, developer token, “Customer ID” (and MCC if needed), a conversion action ID for each type. The Google Ads API version is v26 (supported until November 2027); when Google shuts it down, the address can be changed without updating the tracker: AURUM_GOOGLE_ADS_URL=https://googleads.googleapis.com/v27 in .env and aurum update.

Cost is matched with tracker clicks and divided over them; what did not match goes to the “Cost without clicks” report. Until the connection has synced successfully at least once, history is loaded (“Days on the first sync”, 30 by default, TikTok 5), then — the last 5 days with overwrite; an error on the first attempt (a wrong token) does not use up the history. “Load N days” (1–90) — the same load for N days as a background job: you added an ad account or a campaign and need older history. An ad account with an error (a ban, lost access in BM) does not stop the others: their costs are updated, and the connection gets an error status with the list of such ad accounts (shown in the connection card, a notification — on the first error). The request days follow “today” in the ad account time zone (Facebook, TikTok; offsets like “UTC+08:00” are understood too); an unknown time zone means UTC with a warning in the sync result and in the log. Cost transfer from FBTool and Dolphin is described below, in the Admin API section.

Domains and infrastructure

  • Cloudflare — an API token: the list of zones, creating subdomains (“Proxied” — the orange cloud), moving A records to the server IP (“Move to the current IP”), adding to the tracker domains.
  • Registrars: Namecheap, Porkbun, Dynadot — checking domain availability with prices and buying from the account balance for 1 year: the amount is confirmed explicitly and checked again before the purchase, A records (@, www) point to the tracker server right away, the domain is added to “Domains” (with or without an index campaign). “Test” shows the account balance. Buying a domain or adding it (as well as a Cloudflare subdomain) to the tracker is allowed to anyone with the right to create in the “Domains” section; purchases and additions are in the audit log.
    • Namecheap — the tracker server IP must be whitelisted for the API; there is a sandbox for testing.
    • Porkbun — API keys and secret (Account → API Access), a repeated order does not charge twice.
    • Dynadot — an API key (Tools → API), the tracker server IP must be among the allowed ones; the payment currency is in the connection settings.
  • MaxMind — a license key: GeoIP2/GeoLite2 databases are downloaded once a day; which databases to use — Settings → Geo databases.
  • IP2Location — a Download Token: IP2Location LITE and IP2Proxy are downloaded once a day.
  • SMTP — a mail server for scheduled exports (Reports): host, port (465 — TLS, 587 — STARTTLS), login, password, sender address; “Test” checks the connection and login without sending.
  • Google Safe Browsing — an API key (Google Cloud → Safe Browsing API): tracker domains are checked against lists of unsafe sites every 6 hours (Sources, networks, domains).

AI assistant (optional)

The “AI model” connection — an API key of a language model. There is none by default: until it is added, no AI features are visible in the tracker. Empty fields mean NVIDIA (the key is at build.nvidia.com) and the default models; any OpenAI-compatible service will do as well (your own API URL and model). “Requests per day” — for the whole tracker (300 by default). “Test” — a short reply from the model.

  • Campaigns → “AI draft”: describe the campaign in words (“Italy, Android mobile, offer Cardio IT, landings 282 — 70% and 281 — 30%, source Facebook, postback https://…”). The model picks objects from your catalogs, and the tracker checks the draft: other people’s and non-existent objects are dropped, shares are brought to 100, a mismatch between the offer geo and the stream geo is a warning. Nothing is saved until you press “Create campaign”; then the campaign opens with the “Launch readiness” checklist.
  • Campaign → “More” → “Why did CR change”: the period’s CR against the previous one (or a week earlier), the contribution of countries, devices, OS, landings, offers, streams and hours in percentage points: “CR within the segment” — the segment got worse or better, “traffic shift” — the share of clicks moved. The tracker does the calculation and shows it right away (it works without AI too), and the model writes the explanation text (up to a minute). Visible only to those who can see the campaign, clicks and conversions.

The model receives only the names of offers, landings, sources and domains (for the draft) and the figures of the breakdown — no clicks, IPs or lead data.

Messenger notifications

  • Telegram (own bot) — everything in one connection window, no codes:
    1. The bot token from @BotFather → “Test” (saves the bot name).
    2. Team groups: add the bot to a group — it posts the group ID there by itself (or send /id in the group). Paste the ID into the “Group ID” field → “Add”: the tracker finds the group (an ID with or without the minus, with or without -100 works), sends a test message to it and adds it as a row. There can be several groups; each has its own set of notifications (expanded right away) and reply rights; “Delete” removes the group from the connection.
    3. Private chats: an employee opens the bot and presses Start (or sends /id) — the bot replies with their Telegram ID. An administrator enters the ID in the employee’s row → “Link” (the bot sends a confirmation); “Unlink” — remove it. Writing to the bot first is mandatory: otherwise Telegram does not let the bot write to the person. Deleting the connection — a regular confirmation, without typing the name.
  • Telegram (the shared AurumClick bot) — groups are linked with the “Add to group” button (Telegram itself offers to choose the group), private chats — with “Connect my Telegram” in the profile.
  • Slack — the incoming webhook URL of a channel (works for Mattermost / Rocket.Chat as well); “Test” sends a test message; “What to send to the channel” — the choice of types.

Notification types: “Automation rule fired”, “Offer cap reached or exceeded”, “Monitoring took an action”, “Split share skew”, “Domain error (DNS/SSL)”, “Integration error”, “Landing and form failures”, “Background job failed”, “Queue lag over 60 s”, “Low disk space”, “License ending or not active”. In the app notifications are always visible (the bell), in private Telegram — according to the profile settings (Team, settings, security).

Admin API

/admin_api/v1/…, the key in the Api-Key header (Profile or Users → API keys). CRUD for all entities, reports (report/build in the Keitaro format), logs, costs (update_costs), conversions, domains. General rules, request examples, Edge API and MCP — the API chapter; the description of each operation — “Settings → API” (in the interface language).

Key scopes — what the key can do (any scope includes read):

Scope What it allows
Read (read) lists, reports (including report/build), click, conversion and postback logs — the default for a new key
Costs (costs:write) update_costs, cost import, ad platform statistics (ad_stats) — for FBTool, Dolphin, CRM
Conversions (conversions:write) conversion import, status changes, postback and S2S retries
Entities (entities:write) creating and editing campaigns, streams, offers, landings, sources, networks, domains
Logs and maintenance (ops:read) system log, SSL, audit, backup list, DNS zone files, system settings and updates; not part of “Read” (since Nov 4)
Full access (full) everything, including tracker settings; keys issued before Oct 15 became this

For a key without the required scope the API returns 403 scope_required. Allowed IPs (IPs or subnets) — the key works only from these addresses, from the others — 403 ip_not_allowed. Users, rights, keys, 2FA, system settings, the postback key, plugins, backups and updates are changed, and a backup is downloaded, only from the admin panel: for an API key (any key) — 403 session_required, so that a leaked key cannot issue new keys or turn off protection. The OpenAPI specification is /admin_api/v1/openapi.yaml; a contract test checks that every API response matches it. Scripts written for the Keitaro Admin API work without changes: the key goes in the Api-Key header or Authorization: Bearer; the POST report/build report understands both dimensions + measures and dimensions + metrics (as in the Keitaro documentation example); the Keitaro paths GET streams/search?query=, DELETE offers/{id}/archive and DELETE groups/{id}/delete (to the archive, not forever), PUT landing_pages/{id}/clone are there too.

Ad platform statistics: impressions, reach, clicks, spend — POST /admin_api/v1/ad_stats

{"rows": [{"date": "2026-10-08", "campaign_id": 12, "level": "ad", "object_id": "120208765432",
           "param": "ad_id", "impressions": 4000, "reach": 3100, "link_clicks": 55,
           "spend": "20.00", "currency": "USD"}]}
  • level — campaign | adset | ad, object_id — the ID of the platform object, date — the day in the ad account time zone.
  • param — the click parameter holding this ID: a campaign link parameter (ad_id, adset_id) or a dimension (sub_id_4); by default ad_id / adset_id / campaign_id depending on the level. The report uses it to put impressions next to the ad’s clicks.
  • A submission for a campaign day is complete: rows of earlier submissions for that day that are missing in the new one are deleted (an ad was stopped — it disappears). Repeating the same submission doubles nothing.
  • Spend is in the currency currency (the tracker currency by default) and is converted at the day’s rate. It is needed for the platform CPM and CPC; click cost is still sent with update_costs.
  • The tracker computes CPM itself: spend ÷ impressions × 1000 (as Facebook does; for a period — from the sums, not the average of daily CPMs). If a service knows only CPM, send "cpm" instead of impressions — impressions are restored as spend ÷ CPM × 1000. The Keitaro “CPM” metric (cost per 1000 clicks) is called “Cost per 1000 clicks”.
  • Up to 50,000 rows; the response is {"saved": N, "replaced": N, "errors": [{"index": 3, "error": "…"}]} — rows with errors are skipped, the rest are accepted. Rights are the same as for costs: only campaigns the key can edit.
  • In reports: “Impressions”, “Reach”, “Frequency”, “Link clicks (ad platform)”, “Spend (ad platform)”, “CTR (ad platform)”, “CTR by tracker clicks”, “CPM (ad platform)”, “CPC (ad platform)”, “Arrived (platform → tracker)” — tracker clicks / link clicks × 100 (below 70–80 % clicks get lost on the way) — when grouped by campaign, dates and the parameter with the object ID (otherwise empty, ads_unavailable: true). Reach is summed over days. The “Facebook · costs” integration sends the same data itself (except in hourly mode). In a grouping without the object ID parameter (campaign, dates), one level and one source are taken per campaign and day: the integration comes before the ad_stats API, a larger level before a smaller one — if both a campaign and its ads were sent, impressions and spend are not doubled; by the ad ID parameter you get the ad rows. Until anyone sends ad platform statistics, these metrics are not in the report picker.

Cost transfer from FBTool, Dolphin, CRM and your own scripts

Campaign cost source (campaign card → “Cost source”: any / tracker integration / API / CSV). Two sources for one campaign (a Facebook connection and an update_costs script) overwrite the cost of the same clicks with different day boundaries — the result depends on who wrote last. The selected source closes the others: update_costs to an “integration only” campaign returns 409 cost_source, and in a common write for several campaigns such ones are skipped with a warning. “Who wrote the costs” is in the same place — the last write for each day (source, connection or user, amount), GET /campaigns/{id}/cost_writes.

Services connect the same way as to Keitaro: the tracker address and an API key — issue a separate key for the service with the “Costs” scope and the IP of its server. Both Keitaro requests are accepted — POST /admin_api/v1/campaigns/{id}/update_costs (FBTool: one request per ad) and the batch POST /admin_api/v1/clicks/update_costs (CRM: campaign_ids, costs[]; timezone, currency, only_campaign_uniques — at the top level or in a row). The response is {"success": true}.

  • Matching — a filter by a click parameter: {"sub_id_4": "<ad.id>"} (FBTool, CRM), {"sub_id_3": "<adset.id>"} (Dolphin) — the campaign link must have the same macro (sub_id_4={{ad.id}}). Several values — comma-separated. Campaigns to choose from are returned in the Keitaro format: parameters.sub_id_4.placeholder = "{{ad.id}}".
  • No duplicates: the period’s cost is divided equally over the clicks of the selection and replaces the previous one — sending the same amount again doubles nothing, and a grown day amount simply overwrites the old one. Updates run strictly in order: an earlier amount will not be written over a later one.
  • Day — in the time zone from the request (the ad account time zone); an end of 23:59:59 or 23:59 includes the last second/minute, 00:00:00 of the next day does not.
  • Currency — converted to the tracker currency at the rate of the period’s day.
  • Bots get no cost (Settings → Bot lists → “Do not assign costs to bots”; in the request — skip_bots).
  • If the period has no click with this value, there is nothing to attach the cost to — as in Keitaro, it is not written (the response has clicks: 0). Do not send the cost of the same ads from two services at once: the last one wins, and with different time zones the day amounts will diverge.

Didn’t find an answer?

Support