Connects with credentials the end user enters, such as an API key, so you don’t need to register an OAuth app.
Authentication: OAuth or access token. See Magic Link for the runtime auth flow, or Application credentials to bring your own OAuth app.
Sample use cases
- List the active campaigns in ad account
act_123456789with their daily budgets - Create an ad creative and an ad for the
Spring Salead set - Add a list of customer emails to the
Past Purchaserscustom audience
Available Tools
Add users to a customer-list audience by uploading hashed personal data.
Cancel (delete) an ad study by id. Use list_ad_studies to find study ids. This is the inverse of create_ad_study.
Connect one or more event sources (pixels, apps, offline sets) to a catalog for signal matching.
Create an ad in an ad set. Requires account_id (from list_ad_accounts), name, adset_id (from list_ad_sets), creative…
Create an ad creative under an ad account.
Create an ad set under a campaign. Requires account_id (from list_ad_accounts), name, campaign_id (from list_campaigns), billing_event, optimization_goal, targeting, and status.
Create an ad study (A/B test or conversion lift).
Create a campaign under an ad account. Requires account_id (from list_ad_accounts), name, objective, special_ad_categories (pass [] if none), and status (ACTIVE/PAUSED).
Create a custom audience.
Create a supplementary rule that maps or transforms an attribute on a feed.
Start an upload session that fetches a feed file from a URL.
Add a product to a catalog. Requires catalog_id (from list_product_catalogs), retailer_id (your SKU), name, price (integer minor units, e.g. 599), currency, image_url.
Create a product catalog under a Business Manager.
Register a product feed on a catalog. Requires catalog_id (from list_product_catalogs) and name; optionally feed_type (defaults PRODUCTS) and a schedule to fetch from a URL.
Create a product set in a catalog. Requires catalog_id (from list_product_catalogs) and name; optionally a structured filter object to scope membership.
Delete an ad by id. Use list_ads to find ad ids. This removes the ad and stops its delivery.
Delete an ad creative by id. Use list_ad_creatives to find creative ids.
Delete an ad set by id. Use list_ad_sets to find ad set ids. This removes the ad set and stops delivery of its ads.
Delete a campaign by id. Use list_campaigns to find campaign ids. This removes the campaign and its delivery.
Delete a custom audience by id. Use list_custom_audiences to find audience ids. Inverse of create_custom_audience.
Delete a feed transformation rule by id without affecting the feed or products.
Delete a product from a catalog by id. Use list_products to find product ids. Inverse of create_product.
Delete a product feed and its schedule by id; products it supplied are removed asynchronously.
Delete a product set by id; products remain in the catalog.
Disconnect one or more event sources from a catalog to stop signal matching.
Render a preview of an ad or creative in a specific placement (Feed, Story, Reels, etc.).
Get a single ad study by id, with type, status, cells, and results.
Get a single campaign by id, with status, objective, and budgets. Use list_campaigns to find campaign ids.
Get a single custom audience by id, with size, status, and subtype. Use list_custom_audiences to find audience ids.
Get a dataset (pixel) node: metadata, Conversions API configuration, and pixel settings.
Get a dataset’s event volume over a time window, optionally broken down by device or event source.
Get a single product by id, with name, price, availability, and imagery. Use list_products to find product ids.
Get a single product catalog by id, with name, vertical, product/feed counts, and owning business.
Get a single product feed’s configuration by id: URL, schedule, format, and status.
Get a single product set by id, with its filter rule and match count. Use list_product_sets to find product set ids.
List activity log entries for an ad account (who changed what, when).
List the ad accounts the token can access, with id (act_number), name, currency, and balance. Start here to get an ac…
List ad creatives under an ad account, each with its id for attaching to a new ad.
List ad images uploaded to an ad account, each with its hash (used to reference it in a creative).
List ad sets under an ad account, each with its campaign_id for client-side scoping.
List the ad studies (A/B tests and lift studies) that impact an ad account.
List ad videos uploaded to an ad account, each with id, title, and length.
List ads under an ad account, each with its adset_id and campaign_id for client-side scoping.
List campaigns under an ad account, with status, objective, and budgets.
List the data sources (feeds, uploads, API sources) attached to a product catalog.
List diagnostics (errors, warnings, opportunities) on a product catalog that may affect ad delivery.
List the event sources (pixels, apps, offline conversion sets) connected to a product catalog.
List custom audiences on an ad account, each with name, subtype, and approximate size.
List custom conversions defined on an ad account, each with name, rule, and event type.
List datasets (pixels) on an ad account, each with name and last-fired time.
List the supplementary rules applied to a product feed. Pass feed_id from list_product_feeds. Page with limit + after.
List upload sessions for a product feed, with status and error counts.
List Instagram Business/Creator accounts linked to an ad account, each with id and username.
List recent media (posts, reels, stories) on an Instagram Business/Creator account.
List product catalogs owned by a Business Manager, with name, vertical, and product count.
List the product feeds registered on a catalog, each with name and product count.
List the products contained in a product set. Use list_product_sets to find product set ids. Page with limit + after.
List product sets in a catalog, each with name and product count.
List or search products in a product catalog. Pass catalog_id from list_product_catalogs. Pass a structured filter ob…
List the Facebook Pages that have been used for ads on an ad account, each with id and name.
Remove users from a customer-list audience by uploading hashed personal data to match.
Search the public Meta Ad Library for competitive research.
Send server events to a dataset via the Conversions API (POST //events). Requires pixel_id (from list_datasets) and d…
Edit an existing ad study’s name, description, end time, or cells.
Update a campaign by id (Meta uses POST, not PATCH).
Update a custom audience’s name, description, or website rule.
Update a dataset (pixel) setting: name, automatic advanced matching, or data-use.
Update a product’s fields (name, price, availability, brand, imagery).
Update a product catalog’s name or default/fallback image URLs.
Update a product feed’s name, currency default, or fetch schedules.
Update a product set’s name, filter, or retailer id.