ads_campaign_get
Get one campaign with its latest synced metrics. Returns the ad object: { id, kind, platform, platform_id, ad_account_id, campaign_id, ad_set_id, name, status, platform_status, budget, schedule, targeting, review, metrics, ... }. Pass live=true to refetch it and its metrics from the network first.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"campaign_id": "<campaign_id>"
},
"name": "ads_campaign_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | Refetch from the ad network before answering instead of using the last synced copy | |
| campaign_id | Yes | Campaign id: the Postproxy id (id field of a campaign), not the network's platform_id | |
| profile_group_id | No | Profile group hashid, to scope the call to one profile group. Usually not needed. |