Review status of every TikTok Smart+ ad of an advertiser
curl --request GET \
--url https://api.aisa.one/apis/v1/ads/tiktok-smart-plus-reviews \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/ads/tiktok-smart-plus-reviews"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/ads/tiktok-smart-plus-reviews', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/ads/tiktok-smart-plus-reviews",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/ads/tiktok-smart-plus-reviews"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/ads/tiktok-smart-plus-reviews")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/ads/tiktok-smart-plus-reviews")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"adAccountId": "<string>",
"allFresh": true,
"counts": {
"failed": 123,
"fresh": 123,
"pending": 123,
"stale": 123
},
"failedSmartPlusAds": [
{
"adGroupId": "<string>",
"campaignId": "<string>",
"error": {
"message": "<string>",
"tiktokCode": 123
},
"refusedAt": "2023-11-07T05:31:56Z",
"smartPlusAdId": "<string>"
}
],
"includeDeleted": true,
"incomplete": true,
"items": [
{
"adGroupId": "<string>",
"campaignId": "<string>",
"materials": [
{}
],
"readAt": "2023-11-07T05:31:56Z",
"review": {
"appealRejectReasons": [
"<string>"
],
"appealStatus": "<string>",
"passedLocations": [
"<string>"
],
"rawReviewStatus": "<string>",
"rejectReasons": [
"<string>"
],
"rejections": [
{}
],
"reviewStatus": "approved"
},
"smartPlusAdId": "<string>"
}
],
"listing": {
"error": {
"message": "<string>",
"tiktokCode": 123
},
"readAt": "2023-11-07T05:31:56Z",
"source": "fresh"
},
"maxAgeSeconds": 123,
"oldestReadAt": "2023-11-07T05:31:56Z",
"page": 123,
"pageSize": 123,
"pendingSmartPlusAdIds": [
"<string>"
],
"refreshState": "ok",
"retryAfterSeconds": 123,
"reviewError": {
"message": "<string>",
"tiktokCode": 123
},
"totalPages": 123,
"totalSmartPlusAds": 123
}{
"error": {
"code": "<string>",
"details": {},
"message": "<string>",
"param": "<string>",
"retryHint": "<string>",
"retryable": true,
"type": "<string>"
}
}TikTok Ads
Review status of every TikTok Smart+ ad of an advertiser
Ad Campaigns. Read only. Returns the review verdict of every Upgraded Smart+ ad of one TikTok advertiser, with each creative’s verdict, in one paginated read. Use it to refresh reviews periodically: one call (plus its pages) per advertiser per refresh, instead of GET /apis/v1/ads/{adId}/tiktok-smart-plus-review per ad. 1. 2.
GET
https://api.aisa.one
/
apis
/
v1
/
ads
/
tiktok-smart-plus-reviews
Review status of every TikTok Smart+ ad of an advertiser
curl --request GET \
--url https://api.aisa.one/apis/v1/ads/tiktok-smart-plus-reviews \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/ads/tiktok-smart-plus-reviews"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/ads/tiktok-smart-plus-reviews', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/ads/tiktok-smart-plus-reviews",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/ads/tiktok-smart-plus-reviews"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/ads/tiktok-smart-plus-reviews")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/ads/tiktok-smart-plus-reviews")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"adAccountId": "<string>",
"allFresh": true,
"counts": {
"failed": 123,
"fresh": 123,
"pending": 123,
"stale": 123
},
"failedSmartPlusAds": [
{
"adGroupId": "<string>",
"campaignId": "<string>",
"error": {
"message": "<string>",
"tiktokCode": 123
},
"refusedAt": "2023-11-07T05:31:56Z",
"smartPlusAdId": "<string>"
}
],
"includeDeleted": true,
"incomplete": true,
"items": [
{
"adGroupId": "<string>",
"campaignId": "<string>",
"materials": [
{}
],
"readAt": "2023-11-07T05:31:56Z",
"review": {
"appealRejectReasons": [
"<string>"
],
"appealStatus": "<string>",
"passedLocations": [
"<string>"
],
"rawReviewStatus": "<string>",
"rejectReasons": [
"<string>"
],
"rejections": [
{}
],
"reviewStatus": "approved"
},
"smartPlusAdId": "<string>"
}
],
"listing": {
"error": {
"message": "<string>",
"tiktokCode": 123
},
"readAt": "2023-11-07T05:31:56Z",
"source": "fresh"
},
"maxAgeSeconds": 123,
"oldestReadAt": "2023-11-07T05:31:56Z",
"page": 123,
"pageSize": 123,
"pendingSmartPlusAdIds": [
"<string>"
],
"refreshState": "ok",
"retryAfterSeconds": 123,
"reviewError": {
"message": "<string>",
"tiktokCode": 123
},
"totalPages": 123,
"totalSmartPlusAds": 123
}{
"error": {
"code": "<string>",
"details": {},
"message": "<string>",
"param": "<string>",
"retryHint": "<string>",
"retryable": true,
"type": "<string>"
}
}请求规范
- 方法与路径: GET /apis/v1/ads/tiktok-smart-plus-reviews
- 可用状态: enabled
- 请求 URL 模板:
https://api.aisa.one/apis/v1/ads/tiktok-smart-plus-reviews - connectionId: query; 必填
- adAccountId: query; 必填
- includeDeleted: query; 可选
- maxAgeSeconds: query; 可选
- page: query; 可选
- pageSize: query; 可选
{
"operationId": "get_aisa_ads_apis_v1_ads_tiktok_smart_plus_reviews",
"method": "GET",
"path": "/apis/v1/ads/tiktok-smart-plus-reviews",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"description": "The ads connection (adc_...) the request runs on: one of yours, from GET /apis/v1/ads/connections. On a request with a JSON body it may be sent as a top-level body member instead.",
"in": "query",
"name": "connectionId",
"required": true,
"schema": {
"pattern": "^adc_[0-9A-Za-z]+$",
"type": "string"
}
},
{
"description": "TikTok advertiser ID",
"in": "query",
"name": "adAccountId",
"required": true,
"schema": {
"type": "string"
}
},
{
"description": "Also return Smart+ ads deleted on TikTok (listed with `primary_status: STATUS_ALL`).",
"in": "query",
"name": "includeDeleted",
"required": false,
"schema": {
"default": false,
"type": "boolean"
}
},
{
"description": "Freshness window in seconds. Reviews, refusals and the listing read within it are served without calling TikTok; older ones are still returned but read again, oldest first.",
"in": "query",
"name": "maxAgeSeconds",
"required": false,
"schema": {
"default": 3600,
"maximum": 86400,
"minimum": 600,
"type": "integer"
}
},
{
"in": "query",
"name": "page",
"required": false,
"schema": {
"default": 1,
"minimum": 1,
"type": "integer"
}
},
{
"in": "query",
"name": "pageSize",
"required": false,
"schema": {
"default": 500,
"maximum": 1000,
"minimum": 1,
"type": "integer"
}
}
],
"security": [
{
"bearerAuth": []
}
],
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
费用与请求规则
此操作不另收费。 广告投放费用由广告平台向已连接的广告账户另行收取。授权
查询参数
响应
The reviews of one page of the advertiser's Smart+ ads. Check incomplete: when true, some Smart+ ads of the page were never read. allFresh says whether every review is within maxAgeSeconds.