Create custom audience
Create a custom audience. customer_list is supported on Meta, Google, X, LinkedIn, TikTok, and Pinterest;
website and lookalike are Meta-only; company_list, engagement and website_retargeting are LinkedIn-only.
saved_targeting stores a reusable TargetingSpec (no member upload, no adAccountId) that you reference later via
savedTargetingId on POST /v1/ads/create.
How the audience gets filled depends on the type:
customer_listis created empty. Add members withPOST /v1/ads/audiences/{audienceId}/users. On TikTok and Pinterest the audience is provisioned lazily on that first upload (until then its status ispending).company_listis filled AT CREATION from thecompaniesarray below, which is required. To change the list afterwards send the new full list toPOST /v1/ads/audiences/{audienceId}/companies(a replace, not a merge). The/usersendpoint rejects these audiences with a 422.website,website_retargeting,engagement,meta_engagementandlookalikefill themselves from the pixel, engagement source or seed audience you point them at. They take no member upload at all.
Create is not idempotent, never auto-retry.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
customer_list, website, or lookalike audience (uploaded or derived from a source).
Response Body
application/json
application/json
{ "audience": {}, "message": "string"}