IntegrationsMeta Ads

Get one custom audience with its rule, lookalike spec and sharing status.

POST
/integrations/connections/{connection_id}/providers/metaads/custom-audiences/get

Get one custom audience with its rule, lookalike spec and sharing status.

Authorization

bearerApiKey
AuthorizationBearer <token>

Create a scoped API key in the Adlass settings.

In: header

Path Parameters

connection_id*string

Resource identifier: connection_id.

Formatuuid

Header Parameters

X-Request-Id?string

Optional correlation identifier.

Lengthlength <= 128

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/integrations/connections/123e4567-e89b-42d3-a456-426614174000/providers/metaads/custom-audiences/get" \  -H "Content-Type: application/json" \  -d '{    "ad_account_id": "1",    "audience_id": "1"  }'
{  "id": "example",  "name": "Customer documents",  "subtype": "example",  "description": "example",  "approximate_count_lower_bound": 0,  "approximate_count_upper_bound": 0,  "delivery_status": {},  "operation_status": {},  "retention_days": 0,  "data_source": {},  "time_created": "example",  "time_updated": "example",  "rule": "example",  "lookalike_spec": {},  "sharing_status": {}}