I need to get the audience ID from the audiences I created in Power Editor but I can find no way to retrieve the Audience ID. I've read https://developers.facebook.com/docs/reference/ads-api/custom-audience-targeting/ but still it does not explain where to get these Audience IDs from.
I'm assuming your app has access to the Ads API; if not, you can't retrieve the Audience IDs via the API, but the IDs probably aren't useful unless you're creating ads via the API anyway
To retrieve audiences you've created in an account via power editor or the API, you can make an API call to https://graph.facebook.com/act_<ACCOUNT ID>/customaudiences
which returns the audiences in the account
You'll need a user access token for an admin of the ad account, whcih has the ads_management
extended permission
It's possible to get the audience IDs via web interface. Here are the steps:
Facebook will generate a .csv file. In this file, you'll find all ad set's parameters, including Included Custom Audiences and Excluded Custom Audiences with IDs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With