curl --request POST \
--url 'https://api.adside.ai/meta/mcp#compare_meta_performance' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "<string>",
"method": "<string>",
"params": {
"name": "<string>",
"arguments": {
"object_ids": [
"<string>"
],
"level": "campaign",
"date_preset": "today",
"time_range": {
"since": "<string>",
"until": "<string>"
},
"metrics": [
"impressions",
"clicks",
"spend",
"ctr",
"cpc"
]
}
},
"id": "1"
}
'{
"jsonrpc": "<string>",
"id": "<string>",
"result": {
"content": [
{
"type": "<string>",
"text": "<string>"
}
]
}
}Compare performance metrics across multiple campaigns, ad sets, or ads side by side. Returns ranked comparisons with summary statistics for each object.
curl --request POST \
--url 'https://api.adside.ai/meta/mcp#compare_meta_performance' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "<string>",
"method": "<string>",
"params": {
"name": "<string>",
"arguments": {
"object_ids": [
"<string>"
],
"level": "campaign",
"date_preset": "today",
"time_range": {
"since": "<string>",
"until": "<string>"
},
"metrics": [
"impressions",
"clicks",
"spend",
"ctr",
"cpc"
]
}
},
"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.