Automated Ads API

The Automated Ads API can be used to programatically run Advertising campaigns on Meta's ad platforms.

API Authentication:

All API requests must include the x-api-key header, which corresponds to the brand configured during onboarding.

πŸ“˜

If your integration involves multiple users, each user will have their own brand associated with your partner account. In this case, you must also include the x-brand-id header in every request to specify which user's brand is being accessed.

For all advertising-related flows, it is essential to identify the brand being used, whether it is the default brand or one explicitly specified via the header. The brand must be connected to a Facebook account with permissions for the ad account and the pages used in the campaigns.


Next steps:

Below you will find information related to integrating the connection between the brand and its associated Facebook Ad Accounts and Facebook Page.

This information is divided into the following sections: