View raw JSON
{
"type": "object",
"required": [],
"properties": {
"body": {
"type": "object",
"title": "Body_search_ads_api_v1_tiktok_ads_search_ads_post",
"properties": {
"like": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Like",
"description": "Optional performance rank: 1 for the top 1–20%, 2 for 21–40%, 3 for 41–60%, 4 for 61–80% or 5 for 81–100%."
},
"page": {
"type": "integer",
"title": "Page",
"default": 1,
"description": "Page number."
},
"limit": {
"type": "integer",
"title": "Limit",
"default": 20,
"description": "Items per page."
},
"cookie": {
"type": "string",
"title": "Cookie",
"description": "Optional custom cookie string."
},
"period": {
"type": "integer",
"title": "Period",
"default": 180,
"description": "Time period in days."
},
"keyword": {
"type": "string",
"title": "Keyword",
"description": "Search keyword."
},
"duration": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Duration",
"description": "Optional video duration filter value."
},
"industry": {
"type": "string",
"title": "Industry",
"description": "Industry ID."
},
"order_by": {
"type": "string",
"title": "Order By",
"default": "for_you",
"description": "Sort order: for_you or likes."
},
"ad_format": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Ad Format",
"description": "Optional ad format: 1 for Spark Ads or 2 for Non-Spark Ads."
},
"objective": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Objective",
"description": "Optional ad objective: 1 for traffic, 2 for app installs, 3 for conversions, 4 for video views, 5 for reach, 6 for leads or 7 for product sales."
},
"search_id": {
"type": "string",
"title": "Search Id",
"description": "Optional search ID."
},
"ad_language": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Ad Language",
"description": "Optional ad language."
},
"country_code": {
"type": "string",
"title": "Country Code",
"default": "US",
"description": "Country code."
},
"pattern_label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Pattern Label",
"description": "Optional creative pattern label."
}
},
"x-readme-ref-name": "Body_search_ads_api_v1_tiktok_ads_search_ads_post"
},
"queryParams": {
"type": "object",
"properties": {},
"additionalProperties": true
}
},
"additionalProperties": false
}