Guides
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:
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'{
"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 }
}
}| Parameter | Rule |
|---|---|
report_type | BASIC; AUDIENCE only with the gender and age dimensions |
data_level | AUCTION_ADVERTISER, AUCTION_CAMPAIGN, AUCTION_ADGROUP or AUCTION_AD |
dimensions | At 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 |
metrics | Default ["spend","impressions"]. An unknown metric answers 40002 metrics: Invalid metric <m>. |
start_date, end_date | YYYY-MM-DD in the advertiser time zone, closed interval |
query_lifetime | Ignores the dates; cannot be combined with time dimensions |
filtering | A list of {field_name, filter_type, filter_value}; filter_value is a string holding a JSON list |
order_field, order_type | Sorting by a requested metric (DESC by default) |
enable_total_metrics | Returns data.total_metrics with the totals over all pages |
page, page_size | Up to 1,000 per page |
Other dimensions (such as platform) answer HTTP 501 with 40014.
Ranges
| Time dimension | Maximum range |
|---|---|
stat_time_day | 30 days |
stat_time_hour | 1 day |
| None | 365 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:
filtering=[{"field_name":"campaign_ids","filter_type":"IN","filter_value":"[\"1700013373458749\"]"},{"field_name":"ad_status","filter_type":"IN","filter_value":"[\"STATUS_ALL\"]"}]Metrics
| Group | Metrics |
|---|---|
| Core | spend, impressions, clicks, ctr, cpc, cpm, reach, frequency, cost_per_1000_reached, result, cost_per_result, result_rate |
| Conversions | conversion, 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 |
| Leads | onsite_form, cost_per_onsite_form, onsite_form_rate |
| Video | video_play_actions, video_watched_2s, video_watched_6s, video_views_p25, video_views_p50, video_views_p75, video_views_p100, average_video_play |
| Attributes | campaign_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.
resultfollows the ad group's goal: clicks forCLICK, reach forREACH,onsite_formforLEAD_GENERATION, conversions forCONVERT.- 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=48generates the previous 48 hours without moving the clock;npx mimicr clock tiktok-ads +1dadvances 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.
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"- Poll /report/task/check/ until
statusisSUCCESS(QUEUING→PROCESSING→SUCCESS,FAILEDorCANCELED). In Mimicr this takesasyncReportSecondssandbox seconds (default 30). - Download it at /report/task/download/. With
output_formatCSV_STRING(default), the body is the CSV, not JSON. WithCSV_DOWNLOAD, you getdata.download_url, valid for 1 hour.
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.
npx mimicr wait tiktok-ads object kind=report_task ref=7000000013373458790 status=SUCCESS