Guides
Reporting

Reports

The synchronous report by level, day or hour, the metrics, the 30-day limit, deleted objects with STATUS_ALL and asynchronous CSV reports.

Mimicr generates delivery hour by hour from each ad group's budget, schedule, dayparting and bid, and reports aggregate those hours. Nothing shows up before the ad is approved and all three levels are ENABLE on a STATUS_ENABLE account with a balance.

Synchronous report

/report/integrated/get/ is a GET, with lists and objects as JSON in the query:

bash
curl --get https://tiktok-ads.mimicr.dev/open_api/v1.3/report/integrated/get/ \
  --header 'Access-Token: <token>' \
  --data-urlencode 'advertiser_id=7000000013373458730' \
  --data-urlencode 'report_type=BASIC' \
  --data-urlencode 'data_level=AUCTION_AD' \
  --data-urlencode 'dimensions=["ad_id","stat_time_day"]' \
  --data-urlencode 'metrics=["spend","impressions","clicks","frequency"]' \
  --data-urlencode 'filtering=[{"field_name":"campaign_ids","filter_type":"IN","filter_value":"[\"1700013373458749\"]"}]' \
  --data-urlencode 'start_date=2026-11-03' \
  --data-urlencode 'end_date=2026-11-06' \
  --data-urlencode 'page_size=1000'
json
{
  "code": 0,
  "message": "OK",
  "request_id": "20261106124323DF57D3C0F4DA240D7D",
  "data": {
    "list": [
      { "dimensions": { "ad_id": "1700013373458754", "stat_time_day": "2026-11-04 00:00:00" }, "metrics": { "spend": "20.99", "impressions": "3986", "clicks": "50", "frequency": "1.45" } },
      { "dimensions": { "ad_id": "1700013373458754", "stat_time_day": "2026-11-05 00:00:00" }, "metrics": { "spend": "14.08", "impressions": "1870", "clicks": "22", "frequency": "1.12" } }
    ],
    "page_info": { "page": 1, "page_size": 1000, "total_number": 2, "total_page": 1 }
  }
}
ParameterRule
report_typeBASIC; AUDIENCE only with the gender and age dimensions
data_levelAUCTION_ADVERTISER, AUCTION_CAMPAIGN, AUCTION_ADGROUP or AUCTION_AD
dimensionsAt most one id dimension (advertiser_id, campaign_id, adgroup_id, ad_id), matching the level, and one time dimension (stat_time_day or stat_time_hour). Also country_code
metricsDefault ["spend","impressions"]. An unknown metric answers 40002 metrics: Invalid metric <m>.
start_date, end_dateYYYY-MM-DD in the advertiser time zone, closed interval
query_lifetimeIgnores the dates; cannot be combined with time dimensions
filteringA list of {field_name, filter_type, filter_value}; filter_value is a string holding a JSON list
order_field, order_typeSorting by a requested metric (DESC by default)
enable_total_metricsReturns data.total_metrics with the totals over all pages
page, page_sizeUp to 1,000 per page

Other dimensions (such as platform) answer HTTP 501 with 40014.

Ranges

Time dimensionMaximum range
stat_time_day30 days
stat_time_hour1 day
None365 days

Beyond that: 40002 The time range cannot exceed 30 days when stat_time_day is used. For long ranges, split them into 30-day windows or use the asynchronous report.

Deleted objects and STATUS_ALL

In the synchronous report campaign_status, adgroup_status and ad_status default to STATUS_NOT_DELETE: what was deleted, and in Mimicr the children of a deleted parent, disappears from the report. To keep the numbers after deleting, filter the report level's status with STATUS_ALL:

text
filtering=[{"field_name":"campaign_ids","filter_type":"IN","filter_value":"[\"1700013373458749\"]"},{"field_name":"ad_status","filter_type":"IN","filter_value":"[\"STATUS_ALL\"]"}]

Metrics

GroupMetrics
Corespend, impressions, clicks, ctr, cpc, cpm, reach, frequency, cost_per_1000_reached, result, cost_per_result, result_rate
Conversionsconversion, cost_per_conversion, conversion_rate, conversion_rate_v2, real_time_conversion, real_time_cost_per_conversion, real_time_result, real_time_cost_per_result
Website events (Events API)complete_payment, complete_payment_roas, value_per_complete_payment, total_complete_payment_rate, initiate_checkout, web_event_add_to_cart, user_registration, on_web_order, form, button_click, landing_page_view
Leadsonsite_form, cost_per_onsite_form, onsite_form_rate
Videovideo_play_actions, video_watched_2s, video_watched_6s, video_views_p25, video_views_p50, video_views_p75, video_views_p100, average_video_play
Attributescampaign_name, adgroup_name, ad_name, ad_text, objective_type, budget, currency…
  • Every value is a string: spend with 2 decimals, counts as integers, rates as percentages with 2 decimals.
  • result follows the ad group's goal: clicks for CLICK, reach for REACH, onsite_form for LEAD_GENERATION, conversions for CONVERT.
  • In Mimicr, a row exists only when some counter of the period is non-zero; with no data, list: []. Documented metrics Mimicr does not simulate come back as "0", and attributes it does not hold as "-".
  • Conversions attributed through the Events API count at the click's time; the real_time_* ones count at the event's time.

When numbers show up

The sandbox materializes closed hours every minute and on every clock advance; the current hour is pro rata of the minutes elapsed. To get data right away:

  • npx mimicr action tiktok-ads traffic.deliver campaignId=<id> hours=48 generates the previous 48 hours without moving the clock;
  • npx mimicr clock tiktok-ads +1d advances the clock and generates the hours along the way.

Asynchronous report

For long ranges or files, create a task with the same parameters in a JSON body. There is no range limit.

bash
curl --request POST \
  --url https://tiktok-ads.mimicr.dev/open_api/v1.3/report/task/create/ \
  --header 'Access-Token: <token>' \
  --header 'Content-Type: application/json' \
  --data '{ "advertiser_id": "7000000013373458730", "report_type": "BASIC", "data_level": "AUCTION_CAMPAIGN", "dimensions": ["campaign_id","stat_time_day"], "metrics": ["spend","impressions","clicks"], "start_date": "2026-09-07", "end_date": "2026-11-06" }'
# data.task_id: "7000000013373458790"
  1. Poll /report/task/check/ until status is SUCCESS (QUEUING → PROCESSING → SUCCESS, FAILED or CANCELED). In Mimicr this takes asyncReportSeconds sandbox seconds (default 30).
  2. Download it at /report/task/download/. With output_format CSV_STRING (default), the body is the CSV, not JSON. With CSV_DOWNLOAD, you get data.download_url, valid for 1 hour.
text
Campaign ID,By Day,Cost,Impression,Click
1700013373458767,2026-11-06 00:00:00,3.74,491,7

Headers come translated (Cost, Impression); with "enable_report_title_translation": false you get the field names. Before it is ready, the download answers 40201 Task is not ready.; a failed task, 40200 Task error. XLSX_DOWNLOAD answers 40014. /report/task/cancel/ cancels while it is queued or processing. The report.fail_task action forces FAILED.

bash
npx mimicr wait tiktok-ads object kind=report_task ref=7000000013373458790 status=SUCCESS