Run an Upgraded Smart+ Creative Overview Report
GET/smart_plus/material_report/overview/Via 360: GET https://partner.quantri360.com/v1/tiktok_business/smart_plus/material_report/overview/
Description
Use this endpoint to retrieve an Upgraded Smart+ Creative Overview Report, an overview of the reporting data on creatives within Upgraded Smart+ Ads.
Upgraded Smart+ Creative Overview Reports doesn't support breakdown by time range (hour, day, week, or month).
Request
Endpoint
GET https://partner.quantri360.com/v1/tiktok_business/smart_plus/material_report/overview/
Authentication & shop
| Name | In | Type | Sample | Description |
|---|---|---|---|---|
| Authorization | header | header | Bearer q360_live_ab12cd34_… | Khóa API của brand (tạo ở mục API key). Bắt buộc với mọi request. Brand suy từ key — không truyền mã brand. |
| platform_shop_id | query | string | 7000000000000000001 | Tài sản TikTok Business đã kết nối — "Mã tài sản" ở trang Nền tảng hoặc GET /v1/platforms (tài khoản quảng cáo cho Marketing API, tài khoản TikTok cho Organic / Messaging). Có thể bỏ khi chỉ kết nối một tài sản. |
Request parameters
| Name | In | Type | Required | Sample | Description |
|---|---|---|---|---|---|
| dimensions | query | string[] | Yes | Dimension grouping conditions.
For example, ["campaign_id", "main_material_id"] indicates that both campaign_id and main_material_id are grouped.
To learn about available dimensions and supported dimension groupings, see Supported dimensions. | |
| metrics | query | string[] | No | Metrics to query.
Default value: ["spend", "impressions"].
Note that the amount of currency metrics is based on the currency of the ad account (advertiser_id).
To learn about the supported metrics at the ad level, see Supported ad-level metrics for Upgraded Smart+ Creative Reports. | |
| filtering | query | object | No | Filtering conditions. | |
| query_lifetime | query | boolean | No | Whether to request lifetime metrics.
Supported values: true, false.
Default value: false.
If you set query_lifetime to true, the parameters start_date and end_date will be ignored. | |
| start_date | query | string | No | Required when query_lifetime is false or not specified.
Query start date (closed interval) in the format of YYYY-MM-DD.
The date is based on the ad account time zone. | |
| end_date | query | string | No | Required when query_lifetime is false or not specified.
Query end date (closed interval) in the format of YYYY-MM-DD.
The date is based on the ad account time zone.
Note: The time difference between start_date and end_date must be equal to or less than 365 days. | |
| sort_field | query | string | No | Sorting field.
Default sorting field: spend.
All supported metrics (excluding attribute metrics) support sorting. | |
| sort_type | query | string | No | Sorting order.
Enum values: ASC (ascending), DESC(descending).
Default value: DESC. | |
| page | query | number | No | Current page number. Value range: ≥1. Default value: 1. | |
| page_size | query | number | No | Page size. Value range: 1-100. Default value: 10. |
Request examples
curl -s "https://partner.quantri360.com/v1/tiktok_business/smart_plus/material_report/overview/?dimensions=%5B%5D" \ -H "Authorization: Bearer $KEY"
Python
import requests
KEY = "q360_live_..." # khóa API của brand
r = requests.get(
"https://partner.quantri360.com/v1/tiktok_business/smart_plus/material_report/overview/",
params={
"dimensions": []
},
headers={"Authorization": f"Bearer {KEY}"},
timeout=60,
)
print(r.status_code)
print(r.json())Node.js
const KEY = 'q360_live_...'; // khóa API của brand
const url = new URL('https://partner.quantri360.com/v1/tiktok_business/smart_plus/material_report/overview/');
for (const [k, v] of Object.entries({"dimensions":[]})) url.searchParams.set(k, typeof v === 'object' ? JSON.stringify(v) : String(v));
const r = await fetch(url, {
method: 'GET',
headers: { Authorization: `Bearer ${KEY}` },
});
console.log(r.status, await r.json());PHP
<?php $key = 'q360_live_...'; // khóa API của brand $url = 'https://partner.quantri360.com/v1/tiktok_business/smart_plus/material_report/overview/' . '?' . http_build_query(['dimensions' => '[]']); $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HTTPHEADER, ['Authorization: Bearer ' . $key]); $res = curl_exec($ch); $status = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); echo $status, "\n", $res;
Response
Response fields (as returned by TikTok Business)
| Name | Type | Sample | Description |
|---|---|---|---|
| code | number | Response code. For the complete list of response codes and descriptions, see Appendix - Return Codes. | |
| message | string | Response message. For details, see Appendix - Return Codes. | |
| request_id | string | The log ID of a request, which uniquely identifies the request. | |
| data | object | Returned data. | |
| list | object[] | Data list. | |
| dimensions | object | Dimension data. | |
| advertiser_id | string | Returned when the parameter `dimensions` contains `advertiser_id` in the request. Advertiser ID. | |
| campaign_id | string | Returned when the parameter `dimensions` contains `campaign_id` in the request. Campaign ID. | |
| adgroup_id | string | Returned when the parameter `dimensions` contains `adgroup_id` in the request. Ad Group ID. | |
| smart_plus_ad_id | string | Returned when the parameter `dimensions` contains `smart_plus_ad_id`in the request. Ad ID. | |
| main_material_id | string | Returned when the parameter `dimensions` contains `main_material_id` in the request. Material ID. - When `main_material_type` is `VIDEO_NON_SPARK_ADS`, `CATALOG_VIDEO`, or `SINGLE_IMAGE_NON_SPARK_ADS`, this field represents the ID of a main creative. - When `main_material_type` is `VIDEO_SPARK_ADS` or `CAROUSEL_SPARK_ADS`, this field represents the ID of TikTok post. - When `main_material_type` is `CATALOG_VIDEO_TEMPLATE`, `CATALOG_CAROUSEL`, or `CATALOG_MULTI_SHOW`, this field represents the ID of a catalog. - When `main_material_type` is `CAROUSEL_NON_SPARK_ADS`, this field represents the ID of a carousel. | |
| main_material_type | string | Returned when the parameter `dimensions` contains `main_material_id` in the request. Main creative type. Enum values: - `VIDEO_NON_SPARK_ADS`: Video (non-Spark Ads). - `VIDEO_SPARK_ADS`: Video (Spark Ads). - `CAROUSEL_NON_SPARK_ADS`: Carousel (non-Spark Ads). - `CAROUSEL_SPARK_ADS`: Carousel (Spark Ads). - `SINGLE_IMAGE_NON_SPARK_ADS`: Single image (non-Spark Ads). - `CATALOG_VIDEO`: Catalog video. - `CATALOG_VIDEO_TEMPLATE`: Catalog video template. - `CATALOG_CAROUSEL`: Catalog carousel. - `CATALOG_MULTI_SHOW`: Catalog Multi-Show. Multi-Show Experience is an auto-play video carousel experience designed to drive user exploration and engagement across a breadth of personally-relevant title offerings within your content library. | |
| ad_text_entity_id | string | Ad text entity ID. The ID is a system-generated unique identifier for an ad text. | |
| ad_text_entity_type | string | Ad text entity type. Enum value: - `text`: ad text. | |
| call_to_action_entity_id | string | Call-to-action entity ID. The ID is a system-generated unique identifier for a call-to-action. | |
| call_to_action_entity_type | string | Call-to-action entity type. Enum values: - `manual_call_to_action`: standard call to action. - `dynamic_call_to_action`: dynamic call to action. | |
| interactive_add_on_entity_id | string | Interactive add-on entity ID. The ID is a system-generated unique identifier for an interactive add-on. | |
| interactive_add_on_entity_type | string | Interactive add-on entity type. Enum value: - `add_on`: interactive add-on. | |
| metrics | object | Metric data. If the parameter `dimensions` does not contain `smart_plus_ad_id` in the request, the following metrics will return an empty string (`""`) : - `ad_material_id` - `material_primary_status` - `material_second_status` - `operation_status` | |
| ad_material_id | string | An ad-specific material ID generated when a particular creative is used in an ad. This ID differs from the creative ID you receive when uploading the creative to your ad account’s Creative Library. | |
| main_material_name | string | Main creative name. | |
| ad_text | string | Ad text. | |
| call_to_action | string | Call-to-action. | |
| interactive_add_on_name | string | Interactive add-on name. | |
| interactive_add_on_id | string | Interactive add-on ID. This ID is generated when you create the interactive add-on in the Creative Library and is different from `interactive_add_on_entity_id`. | |
| material_primary_status | string | Returned when the parameter `dimensions` contains `smart_plus_ad_id` in the request. The primary status of the creative. For enum values, see List of values for `material_primary_status`. | |
| material_second_status_list | string[] | The list of secondary statuses of the creative. For enum values, see List of values for `material_second_status_list`. Note: When the parameter `dimensions` doesn't contain `smart_plus_ad_id` in the request, this field will not be returned. | |
| operation_status | string | Operation status. Enum values: - `ENABLE` : enabled (in 'ON' status). - `DISABLE`: disabled (in 'OFF' status). - `FROZEN`: terminated and cannot be enabled. | |
| page_info | object | Pagination information. | |
| page | number | Current page number. | |
| page_size | number | Page size. | |
| total_number | number | Total number of results. | |
| total_page | number | Total pages of results. |
Response sample
{
"code": 0,
"message": "OK",
"request_id": "{{request_id}}",
"data": {
"list": [
{
"dimensions": {
"main_material_id": "{{main_material_id}}",
"main_material_type": "VIDEO_SPARK_ADS",
"smart_plus_ad_id": "{{smart_plus_ad_id}}"
},
"metrics": {
"main_material_name": "{{main_material_name}}",
"spend": "0.00"
}
},
{
"dimensions": {
"main_material_id": "{{main_material_id}}",
"main_material_type": "CAROUSEL_SPARK_ADS",
"smart_plus_ad_id": "{{smart_plus_ad_id}}"
},
"metrics": {
"main_material_name": "{{main_material_name}}",
"spend": "0.00"
}
}
],
"page_info": {
"page": 1,
"page_size": 100,
"total_number": 2,
"total_page": 1
}
}
}
Get started
- Sign up for Partner
- Enable a data type of the Ads (Marketing API) group on the platform page
- Create an API key (tick the TikTok Business channel)
- Call it as in the examples above