Skip to content

Prepare a Get MCP Ads ad rotation

Weekly rotation of a Meta ad account: reads every ad set and its ads (Meta holds at most 50 non-archived ads per ad set), and proposes, in each ad set near. Works on your own connected ad and analytics accounts. Needs request id and account id.

Inputs

2 required
Request ID
New UUID; reuse only to retryRequired · requestId
Account ID
Meta ad account (act_… or bare ID), as list_accounts gives itRequired · account_id
Campaign IDs
Only the ad sets of these campaignsOptional · campaign_ids
Adset IDs
Only these ad setsOptional · adset_ids
Free slots
Free places wanted in each ad set after the rotation: the week's new adsOptional · free_slots
Lookback days
Days of delivery read for each adOptional · lookback_days
Protect days
Ads younger than this are never proposedOptional · protect_days
Rank by
What makes an ad the weakest of its ad set: cpa (cost per purchase, default), roas, ctr or spend (least used) (cpa, roas, ctr or spend)Optional · rank_by
Include active
Also propose ads still switched on when the paused ones do not free enough placesOptional · include_active
Weekly
Prepare this proposal every week with the same settings, so the team finds it ready; it never archives by itselfOptional · weekly
Workspace ID
Authorized workspace ID from list_accounts/list_workspacesOptional · workspace_id

Pricing

Price
$0.05 per call
Billing
The provider’s price, with no markup. Billed for measured usage.

Call

Your agent reads the schema and the price with inspect_tool before it runs the tool.

MCP call
cURL command
TypeScript
Tool ID

Alternatives

Cross-platform ads reporting

Connect your agent to 3,500+ tools for free

Sign in with Google or GitHub. No card required.