VI | EN
Message us on Messenger
Developer resources

Get review info of ads — TikTok Business API

Get review info of ads · call it through Quantri360 with one API key for your own accounts / assets that you connected and authorized — 360 handles request signing and refreshing the authorization you granted.

Get review info of ads

GET/ad/review_info/Via 360: GET https://partner.quantri360.com/v1/tiktok_business/ad/review_info/
Description

Use this endpoint to get information about the review of ads.

Request

Endpoint

GET https://partner.quantri360.com/v1/tiktok_business/ad/review_info/

Authentication & shop

NameInTypeSampleDescription
AuthorizationheaderheaderBearer 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_idquerystring7000000000000000001Tà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

NameInTypeRequiredSampleDescription
ad_idsquerystring[]YesThe list of ad IDs. Quantity: 1-100.
langquerystringNoLanguage.

Request examples

curl -s "https://partner.quantri360.com/v1/tiktok_business/ad/review_info/?ad_ids=%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/ad/review_info/",
    params={
        "ad_ids": []
    },
    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/ad/review_info/');
for (const [k, v] of Object.entries({"ad_ids":[]})) 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/ad/review_info/' . '?' . http_build_query(['ad_ids' => '[]']);
$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)

NameTypeSampleDescription
codenumberThe response code. For the complete list of response codes and descriptions, see Appendix - Return Codes.
messagestringThe response message. For details, see Appendix - Return Codes.
dataobjectThe returned data.
ad_review_mapobjectReview data at the ad level.
ad_idstringThe ad ID.
is_approvedbooleanWhether the ad has been approved or not.
review_statusstringThe ad review status. Enum values: - `ALL_AVAILABLE`: The ad has been reviewed and can be delivered. - `PART_AVAILABLE`: The ad has been reviewed and can only be delivered to some of the specified targeting countries. - `UNAVAILABLE`: The ad has been reviewed and cannot be delivered.
appeal_statusstringAd appeal status. Note: The value of this field will always be null.
forbidden_placementsstring[]The placements that failed the review. For enum values, see Enumeration - Ad Management - Placement.
forbidden_agesstring[]The audience age ranges that failed the review. For enum values, see Enumeration - Audience Age Range.
forbidden_locationsstring[]The targeted regions that failed the review. For enum values, see Appendix - location codes.
forbidden_operation_systemsstring[]The audience operating systems that failed the review. For enum values, see Enumeration - Audience Operating System.
last_audit_timestringNote: The value of this field will always be null. The last time when the ad was reviewed.
reject_infoobject[]Details about the rejection.
suggestionstringThe review suggestion.
reasonsstring[]The list of rejection reasons.
forbidden_agesstring[]The audience age ranges that failed the review. For enum values, see Enumeration - Audience Age Range.
forbidden_locationsstring[]The targeted regions that failed the review. For enum values, see Appendix - location codes.
forbidden_placementsstring[]The placements that failed the review. For enum values, see Enumeration - Placement.
content_infoobjectThe content of the ad that has been reviewed.
image_contentobjectThe image content.
image_idstringThe ID of the image that has been reviewed.
video_contentobjectThe video content that has been reviewed.
video_idstringThe ID of the video that is being reviewed.
text_contentstringThe text.
content_typestringThe type of the content that has been reviewed, Enum values:`MODE_STRING`,`MODE_IMAGE`,`MODE_VIDEO`, `MODE_CAROUSEL_MUSIC` (Music in the Carousel Ads).
carousel_music_contentobjectReturned when `content_type` is `MODE_CAROUSEL_MUSIC`. The content of the music in the Carousel Ads that has been reviewed.
music_idstringThe ID of the piece of music used in the Carousel Ads.

Response sample

HTTPS/1.1 200 OK
{
    "code": 0,
    "message": "OK",
    "request_id": "LOG_ID",
    "data": {
        "ad_review_map": {
            "AD_ID": {
                "reject_info": [
                    {
                        "content_info": {
                            "text_content": null,
                            "content_type": "MODE_VIDEO",
                            "image_content": {
                                "image_id": "IMAGE_ID"
                            },
                            "video_content": {
                                "video_id": "VIDEO_ID",

                            }
                        },
                        ],
                        "suggestion": "Please add background audio or modify the unclear audio. For more policy details, please check \" Ad Caption/Text, Image and Video\" in \"TikTok Advertising Policies - Ad Creatives\".",
                        "reasons": [
                            "The ad or video has no background audio or the background audio is incoherent/unclear. "
                        ]
                    }
                ],
                "is_approved": true,
                "last_audit_time": 1596023135,
                "forbidden_placements": [
                    "PLACEMENT_HELO",
                    "PLACEMENT_TIKTOK",
                    "PLACEMENT_TOPBUZZ"
                ],
                "ad_id": AD_ID,
                "review_status": "PART_AVAILABLE",
                "appeal_status": null,
                "forbidden_locations": [
                    "RU"
                ],
                "forbidden_operation_systems": [
                    "IOS"
                ],
                "forbidden_ages": [
                ]
            }
        }
    }
}
(/code);

Get started

  1. Sign up for Partner
  2. Enable a data type of the Ads (Marketing API) group on the platform page
  3. Create an API key (tick the TikTok Business channel)
  4. Call it as in the examples above