MCP server
X Ads MCP Server
https://mcp.getmcpads.com/x-ads/mcpThis endpoint serves X Ads on its own. One shared URL reaches every platform you connect.
- 26
- Tools
- 10
- That write
- 0
- Metrics
- 0
- Dimensions
Ask it
What you can ask it.
0 questions
The ledger
Every X Ads tool, as the gateway ships it.
10 write
What it can change: Create campaigns and ad groups in pause. Update budgets on ad groups, pause or activate delivery, manage targeting and promoted posts. Every change previews first and requires confirmation. Every write previews first.
26 tools
x_ads_activate_campaignwriteActivate a campaign (set entity_status=ACTIVE). This makes the campaign eligible to serve ads and SPEND REAL MONEY once its line items are also active. This is the only tool that can activate a campaign; confirm with the advertiser before calling it. Preview by default. Ask the user to approve the exact account, target and parameters before confirm:true.
x_ads_activate_line_itemwriteActivate a line item (set entity_status=ACTIVE). Once its parent campaign is also active, the line item becomes eligible to serve ads and SPEND REAL MONEY. This is the only tool that can activate a line item; confirm with the advertiser before calling it. Preview by default. Ask the user to approve the exact account, target and parameters before confirm:true.
x_ads_add_targeting_criterionwriteAdd one targeting criterion to a line item (call once per criterion). A line item with no criteria serves broad ; that is allowed, not an error. Preview by default. Ask the user to approve the exact account, target and parameters before confirm:true.
x_ads_create_ad_postwriteCompose a promoted-only ("nullcasted") post to use as an ad creative. The post never appears on the author's profile or followers' timelines and spends nothing by itself ; attach it to a line item with promote_post. Preview by default. Ask the user to approve the exact account, target and parameters before confirm:true.
x_ads_create_campaignwriteCreate a campaign in an ads account. The campaign is ALWAYS created with entity_status PAUSED ; it cannot serve or spend until explicitly activated with activate_campaign. Campaigns are always created with budget_optimization LINE_ITEM (the only mode ads-api still supports), so budgets are NOT set here: set daily_budget_amount_local_micro on each line item via create_line_item. Schedule (start_time/end_time) and pacing (standard_delivery) also live on line items, not campaigns, in ads-api v12. Preview by default. Ask the user to approve the exact account, target and parameters before confirm:true.
x_ads_create_line_itemwriteCreate a line item (ad group) under a campaign. The line item is ALWAYS created with entity_status PAUSED ; it cannot serve or spend until explicitly activated with activate_line_item. For website conversion campaigns, set goal=WEBSITE_CONVERSIONS and primary_web_event_tag to a web event tag (pixel) id from list_web_event_tags. Preview by default. Ask the user to approve the exact account, target and parameters before confirm:true.
x_ads_get_account_statsGet synchronous analytics (impressions, engagements, spend) for an ads account Native X fields and pagination are preserved; monetary fields ending in _micro are millionths of the account currency.
x_ads_get_active_entitiesList which ads entities had metrics change in a time window (use before requesting account stats) Native X fields and pagination are preserved; monetary fields ending in _micro are millionths of the account currency.
x_ads_get_campaignGet a single campaign by ID Native X fields and pagination are preserved; monetary fields ending in _micro are millionths of the account currency.
x_ads_get_campaign_reachGet reach and average-frequency metrics for campaigns Native X fields and pagination are preserved; monetary fields ending in _micro are millionths of the account currency.
x_ads_get_line_itemGet a single line item by ID Native X fields and pagination are preserved; monetary fields ending in _micro are millionths of the account currency.
x_ads_list_account_postsList posts (tweets) usable for promotion by an ads account Native X fields and pagination are preserved; monetary fields ending in _micro are millionths of the account currency.
x_ads_list_ads_accountsList the ads accounts the authenticated user can access Native X fields and pagination are preserved; monetary fields ending in _micro are millionths of the account currency.
x_ads_list_campaignsList campaigns for an account Native X fields and pagination are preserved; monetary fields ending in _micro are millionths of the account currency.
x_ads_list_funding_instrumentsList funding instruments (payment sources) for an ads account Native X fields and pagination are preserved; monetary fields ending in _micro are millionths of the account currency.
x_ads_list_line_item_placementsList valid placement combinations per line item product type Native X fields and pagination are preserved; monetary fields ending in _micro are millionths of the account currency.
x_ads_list_line_itemsList line items (ad groups) for an ads account Native X fields and pagination are preserved; monetary fields ending in _micro are millionths of the account currency.
x_ads_list_promoted_postsList promoted posts (promoted tweets) for an ads account Native X fields and pagination are preserved; monetary fields ending in _micro are millionths of the account currency.
x_ads_list_targeting_criteriaList targeting criteria for an ads account's line items Native X fields and pagination are preserved; monetary fields ending in _micro are millionths of the account currency.
x_ads_list_web_event_tagsList the website conversion event tags (pixels) in an ads account; a tag's id is what a conversion line item takes as its primary_web_event_tag Native X fields and pagination are preserved; monetary fields ending in _micro are millionths of the account currency.
x_ads_promote_postwriteAttach post(s) to a line item as its ad creative(s). Promoted posts have no entity_status of their own ; they cannot serve while the parent line item or campaign is paused. The response carries each post's approval_status (ads enter review before serving). Preview by default. Ask the user to approve the exact account, target and parameters before confirm:true.
x_ads_remove_targetingwriteRemove a targeting criterion from its line item (undo a targeting mistake). Criterion IDs come from list_targeting_criteria or the add response. Preview by default. Ask the user to approve the exact account, target and parameters before confirm:true.
x_ads_search_targeting_interestsSearch targetable interest categories by name. Use this to find the targeting_value IDs required by add_targeting_criterion for INTEREST-type criteria. Native X fields and pagination are preserved; monetary fields ending in _micro are millionths of the account currency.
x_ads_search_targeting_locationsSearch targetable locations by name. Use this to find the targeting_value IDs required by add_targeting_criterion for LOCATION-type criteria. Native X fields and pagination are preserved; monetary fields ending in _micro are millionths of the account currency.
x_ads_update_campaignwriteRename a campaign or pause it (entity_status=PAUSED). This tool can pause but CANNOT activate ; use activate_campaign to make a campaign eligible to spend. Budgets and schedule live on line items in ads-api v12: use update_line_item to change them. Preview by default. Ask the user to approve the exact account, target and parameters before confirm:true.
x_ads_update_line_itemwriteUpdate a line item's bid, budget, name, schedule, placements, goal, pacing, audience expansion (set audience_expansion=EXPANDED to turn on Optimized Targeting) or entity_status. Set entity_status=PAUSED to pause this ad group; pausing is only possible here, and activate_line_item is the only way to make it eligible to spend again. Preview by default. Ask the user to approve the exact account, target and parameters before confirm:true.
Catalogues
What you can measure, and how you can cut it.
Reference