Meta Ads for AI agents

Meta Ads manages advertising campaigns across Facebook, Instagram, Messenger, and WhatsApp, from creative and targeting to spend and results reporting. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.

MarketingOAuth 2.0MCP + RESTfacebook.com
AUDIT LOG · META ADSPOLICY: acme-support
09:41:07 · claude · u_8f2read
meta_ads.list_ads
List Ads✓ allowed · 212ms
09:41:08 · claude · u_8f2read
meta_ads.get_user
Get User✓ allowed · 164ms
09:41:09 · claude · u_8f2write
meta_ads.create_ad
Create Ad✓ approved · approved by user
09:41:12 · claude · u_8f2destructive
meta_ads.delete_campaign
Delete Campaign✕ blocked · policy: deny
EVERY META ADS CALL, ON THE RECORD
01 · USE CASES

What agents do in Meta Ads.

01

Pull a campaign's insights

Check impressions, spend, and conversions for a campaign over a date range, read-only.

02

List ad accounts and pages

List the ad accounts and pages available under a business to confirm access, read-only.

03

Approve before deleting a campaign

Require approval before deleting a campaign, since it stops delivery and removes its history.

02 · ACTIONS

67 Meta Ads actions, graded by risk.

Every Meta Ads action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.

read

54

Look things up. Allowed by default.

  • meta_ads.get_user
    Get User
  • meta_ads.list_ads
    List Ads
  • meta_ads.get_video
    Get Video
  • meta_ads.get_object
    Get Meta Object
  • meta_ads.list_leads
    List Leads
  • meta_ads.get_insights
    Get Insights
  • meta_ads.list_clients
    List Clients
  • meta_ads.list_agencies
    List Agencies
  • meta_ads.list_comments
    List Comments
  • meta_ads.list_ad_images
    List Ad Images
  • meta_ads.list_campaigns
    List Campaigns
  • meta_ads.get_ad_accounts
    Get Ad Accounts
  • meta_ads.get_ad_creative
    Get Ad Creative
  • meta_ads.list_activities
    List Activities
  • meta_ads.list_businesses
    List Businesses
  • meta_ads.list_owned_apps
    List Owned Apps
+ 38 MORE

write

12

Create and change things. Allow, or ask the user first.

  • meta_ads.create_ad
    Create Ad
  • meta_ads.create_ad_set
    Create Ad Set
  • meta_ads.create_ad_video
    Create Ad Video
  • meta_ads.create_campaign
    Create Campaign
  • meta_ads.update_campaign
    Update Campaign
  • meta_ads.create_lead_form
    Create Lead Form
  • meta_ads.create_ad_creative
    Create Ad Creative
  • meta_ads.update_ad_creative
    Update Ad Creative
  • meta_ads.create_custom_audience
    Create Custom Audience
  • meta_ads.send_conversion_events
    Send Conversion Events
  • meta_ads.create_custom_conversion
    Create Custom Conversion
  • meta_ads.upload_ad_image
    Upload Ad Image

destructive

1

Delete, cancel or archive. Ask first, or deny outright.

  • meta_ads.delete_campaign
    Delete Campaign
03 · HOW IT WORKS

Meta Ads in three steps.

  1. 01Your users connect Meta AdsThey sign in to Meta Ads on Arc0 Connect, under your brand, and approve the access you ask for.
  2. 02You set the rulesReads run, writes like “create Ad” can wait for the user, and “delete Campaign” can be denied outright.
  3. 03Any agent can actYour agent calls Meta Ads through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
POLICY.TS
await arc0.policies.set('meta_ads', {
  read: 'allow',
  write: 'ask',        // create_ad
  destructive: 'deny',  // delete_campaign
})

# Claude Code: the same connection, one URL
$ claude mcp add --transport http arc0 \
    https://mcp.arc0.ai/u/u_8f2
04 · AUTH AND DATA

How Meta Ads connects.

Users sign in to Meta Ads on Arc0 Connect and approve the scopes you request. Build with Arc0’s Meta Ads OAuth app, or bring your own so the Meta Ads consent screen names you. Tokens refresh automatically, and you can export them whenever you want.

The same Meta Ads connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →

AUTH
API key · OAuth 2.0
CREDENTIALS
Per-tenant encrypted vault
MODEL SEES
Results only, never credentials
AUDIT LOG
Every call, on every plan
05 · WORKS WITH

Use Meta Ads from any agent.

Claude
ChatGPT
Cursor
Codex
VS Code
OpenAI Agents SDK
Claude Agent SDK
Vercel AI SDK
Mastra
LangGraph
07 · FAQ

Meta Ads and Arc0, answered.

Q01

Can I use Meta Ads with Claude, ChatGPT or Cursor?

Yes. Connect Meta Ads to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the Meta Ads actions you allow.

Q02

How do users connect Meta Ads?

Users sign in to Meta Ads on Arc0 Connect and approve the scopes you request. Build with Arc0’s Meta Ads OAuth app, or bring your own so the Meta Ads consent screen names you. Tokens refresh automatically, and you can export them whenever you want.

Q03

Which Meta Ads actions can my agent take?

67 in total: 54 read, 12 write and 1 destructive, such as “create Ad”. Your policies decide which of them each agent may call.

Q04

Can I stop my agent from deleting things in Meta Ads?

Yes. Actions like “delete Campaign” are graded destructive. Set destructive actions to deny, or to ask so the user approves each one, and blocked calls still show up on the audit log.

Q05

Can my own backend call Meta Ads too?

Yes. The same Meta Ads connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.

Get started

Plug Meta Ads into your agent.

Your users connect Meta Ads once, under your brand. Your agent gets 67 actions behind your policies, with every call on the record.

Free to build · MCP + REST · Audit log on every plan