Pull live brand ads
pull_brand_adsStarts fetching live ads after approval of quote_pull_brand_ads, charging the caller’s account at the web app’s Fetch live ads price. Accepts confirm:true, identical page and name, idempotency_key and max_credits. Same key returns the original job without another charge. Returns a job reference for get_brand_pull_status; completed ads become searchable through search_ads with facebook_page_id
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": {
"facebook_page_id": "<facebook_page_id>",
"page_name": "<page_name>",
"confirm": "<confirm>",
"idempotency_key": "<idempotency_key>",
"max_credits": "<max_credits>"
},
"name": "pull_brand_ads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Set true only after the user approves the quote. | |
| page_name | Yes | Advertiser name for that Facebook page from search_advertisers. | |
| max_credits | Yes | Approved maximum credits from quote_pull_brand_ads; send unchanged. | |
| idempotency_key | Yes | Copy idempotency_key from quote_pull_brand_ads unchanged; retries return the same job. | |
| facebook_page_id | Yes | Facebook page id from search_advertisers advertisers or suggestions. Identifies the intended advertiser page. |