curl --request POST \
--url 'https://api.adside.ai/tiktok/mcp#create_ad_group' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "<string>",
"method": "<string>",
"params": {
"name": "<string>",
"arguments": {
"campaign_id": "<string>",
"adgroup_name": "<string>",
"budget_mode": "BUDGET_MODE_DAY",
"budget": 123,
"optimization_goal": "CLICK",
"advertiser_id": "<string>",
"placement_type": "PLACEMENT_TYPE_AUTOMATIC",
"placements": [
"<string>"
],
"schedule_type": "SCHEDULE_START_END",
"schedule_start_time": "<string>",
"schedule_end_time": "<string>",
"bid_type": "BID_TYPE_NO_BID",
"bid_price": 123,
"billing_event": "OCPM",
"location_ids": [
"<string>"
],
"gender": "GENDER_UNLIMITED",
"age_groups": [
"AGE_13_17"
],
"languages": [
"<string>"
],
"interest_category_ids": [
"<string>"
],
"action_category_ids": [
"<string>"
],
"operating_systems": [
"ANDROID"
],
"operation_status": "DISABLE"
}
},
"id": "1"
}
'{
"jsonrpc": "<string>",
"id": "<string>",
"result": {
"content": [
{
"type": "<string>",
"text": "<string>"
}
]
}
}Create a TikTok ad group with targeting, placement, schedule, budget, and bid settings. Created DISABLED by default.
curl --request POST \
--url 'https://api.adside.ai/tiktok/mcp#create_ad_group' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "<string>",
"method": "<string>",
"params": {
"name": "<string>",
"arguments": {
"campaign_id": "<string>",
"adgroup_name": "<string>",
"budget_mode": "BUDGET_MODE_DAY",
"budget": 123,
"optimization_goal": "CLICK",
"advertiser_id": "<string>",
"placement_type": "PLACEMENT_TYPE_AUTOMATIC",
"placements": [
"<string>"
],
"schedule_type": "SCHEDULE_START_END",
"schedule_start_time": "<string>",
"schedule_end_time": "<string>",
"bid_type": "BID_TYPE_NO_BID",
"bid_price": 123,
"billing_event": "OCPM",
"location_ids": [
"<string>"
],
"gender": "GENDER_UNLIMITED",
"age_groups": [
"AGE_13_17"
],
"languages": [
"<string>"
],
"interest_category_ids": [
"<string>"
],
"action_category_ids": [
"<string>"
],
"operating_systems": [
"ANDROID"
],
"operation_status": "DISABLE"
}
},
"id": "1"
}
'{
"jsonrpc": "<string>",
"id": "<string>",
"result": {
"content": [
{
"type": "<string>",
"text": "<string>"
}
]
}
}API key (sk_live_*) — SHA256 hashed, looked up in Redis. Generate via the web app's workspace settings.