ETLMCPData Conveyance Works
Log in Start free
Guides

Spend from deleted TikTok ads

Why TikTok spend in etlmcp can be higher than Ads Manager or a default API report: deleted ads are left out unless you ask for them.

Coming This connector is coming.

TikTok leaves deleted ads out of its numbers unless you ask for them, in the Marketing API and in Ads Manager alike. etlmcp asks for every ad status, deleted ads included, so the spend it pulls for a TikTok account can be higher than an unfiltered Ads Manager view of the same days. To make the two agree, turn on the Deleted status filter in Ads Manager.

What TikTok leaves out by default

In a synchronous basic report from the Marketing API (the /report/integrated/get/ endpoint), there are three status filters, one for each level: campaign_status, adgroup_status and ad_status. When a request does not set them, each one falls back to STATUS_NOT_DELETE. A report pulled with the defaults therefore covers only campaigns, ad groups and ads that still exist. TikTok's Reporting FAQs name these defaults as a common reason an API report and Ads Manager disagree, and say to send STATUS_ALL on the matching filter when you want deleted items counted too.

Ads Manager behaves the same way. TikTok's help center explains that ad group and ad rows can fail to add up to the campaign total because the figures of deleted ad groups and ads are not part of them. To bring them back, you apply the Deleted value in the Ad Group Status or Ad Status filter.

What etlmcp asks for

When the TikTok connector is available, a sync reads one row per ad per day from the ad-level report, and every request it sends sets ad_status to STATUS_ALL. Deleted ads are pulled alongside active and paused ones, so their spend, impressions, clicks and conversions for the days they ran land in your table.

Two related settings follow the same rule:

  • Campaign list. When an account has more ads than one report answer returns, etlmcp first lists the campaigns with figures in the date range and then asks for their ads campaign by campaign. That campaign list is requested with campaign_status set to STATUS_ALL, so a deleted campaign's ads are not skipped.
  • Promote campaigns. In a synchronous report, TikTok's campaign_system_origins filter defaults to non-Promote campaigns only, the ones made in Ads Manager or through the API. etlmcp asks for both Promote and non-Promote origins, so spend from Promote campaigns made in the TikTok app is in your data as well.

Because a later sync asks for deleted ads just as the first one did, deleting an ad in Ads Manager does not make its past spend drop out of what etlmcp pulls.

The rows carry the ad's name, its ad group and campaign ids and names, the advertiser name and the currency. They carry no status column, so you cannot filter deleted ads out in your warehouse by a status value. If you need a total without them, keep a list of the ad ids you want to exclude and filter on ad_id.

How to make the numbers match

  1. In Ads Manager, open the level you are comparing and add the Deleted value to the Ad Group Status or Ad Status filter, next to the statuses already shown.
  2. Use the same date range and the same level: compare ads with ads, or campaigns with campaigns.
  3. Compare spend, impressions, clicks or conversions. Do not add up reach across ads: TikTok removes people reached by more than one ad when it shows a total, so a sum of per-ad reach runs high.
  4. If you query the API yourself, send STATUS_ALL in ad_status (and in campaign_status or adgroup_status at those levels) so your script and etlmcp ask for the same ads.

If the totals still differ after that, the gap has another cause, such as a pull made before TikTok's daily data correction, or a comparison between different report levels.

Very large accounts

A synchronous report processes only the newest 20,000 ads in one answer, and when you ask for every status, deleted ads are among the ones counted. TikTok's FAQ suggests narrowing the request when its truncation header appears. etlmcp watches for that header and, when an answer was cut, asks campaign by campaign instead, halving a group of campaigns until each answer is whole. A single campaign with more than 20,000 ads is refused with an error rather than stored short.

See the TikTok connector for what else a sync pulls, and Spend from deleted and archived Meta ads for the same question on Meta.

Related

Sources

  1. Basic report supported filters — business-api.tiktok.com, checked
  2. Reporting FAQs — business-api.tiktok.com, checked
  3. Why Metrics May Not Add Up — ads.tiktok.com, checked