Metaads
Overview
SLUG: METAADS
Description
Meta Ads API
Authentication Details
OAuth2
API Key
Connecting to Metaads
Create an auth config
Use the dashboard to create an auth config for the Metaads toolkit. This allows you to connect multiple Metaads accounts to Composio for agents to use.
Create and Get auth config ID
Click “Create Integration”. After creation, copy the displayed ID starting with ac_
. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database.
This ID will be used to create connections to the toolkit for a given user.
Connect Your Account
Using OAuth2
Using API Key
Tools
Executing tools
To prototype you can execute some tools to see the responses and working on the Metaads toolkit’s playground
OpenAI (Python)
Anthropic (TypeScript)
Google (Python)
Vercel (TypeScript)
Tool List
METAADS_CREATE_AD
Tool Name: Create Ad
Description
Action Parameters
Action Response
METAADS_CREATE_AD_CREATIVE
Tool Name: Create Ad Creative
Description
Action Parameters
Action Response
METAADS_CREATE_AD_SET
Tool Name: Create Ad Set
Description
Action Parameters
Action Response
METAADS_CREATE_CAMPAIGN
Tool Name: Create Campaign
Description
Action Parameters
Action Response
METAADS_CREATE_CUSTOM_AUDIENCE
Tool Name: Create Custom Audience
Description
Action Parameters
Action Response
METAADS_GET_INSIGHTS
Tool Name: Get Insights
Description
Action Parameters
Action Response
METAADS_UPDATE_CAMPAIGN
Tool Name: Update Campaign
Description
Action Parameters
Action Response
METAADS_DELETE_AD_CREATIVE
Tool Name: Delete Ad Creative
Description
Action Parameters
Action Response
METAADS_DELETE_CAMPAIGN
Tool Name: Delete Campaign
Description
Action Parameters
Action Response
METAADS_GET_AD_CREATIVE
Tool Name: Get Ad Creative
Description
Action Parameters
Action Response
METAADS_PAUSE_CAMPAIGN
Tool Name: Pause Campaign
Description
Action Parameters
Action Response
METAADS_PREVIEW_AD_CREATIVE
Tool Name: Preview Ad Creative
Description
Action Parameters
Action Response
METAADS_READ_ADSETS
Tool Name: Read Ad Sets
Description
Action Parameters
Action Response
METAADS_RESUME_CAMPAIGN
Tool Name: Resume Campaign
Description
Action Parameters
Action Response
METAADS_UPDATE_AD_CREATIVE
Tool Name: Update Ad Creative
Description
Action Parameters
Action Response
METAADS_UPLOAD_AD_IMAGE
Tool Name: Upload Ad Image
Description
Action Parameters
Action Response