IntegrationsMeta Ads

Get one ad set with the full targeting spec, promoted object, attribution spec, bid and learning stage.

POST
/integrations/connections/{connection_id}/providers/metaads/ad-sets/get

Get one ad set with the full targeting spec, promoted object, attribution spec, bid and learning stage.

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/ad-sets/get" \  -H "Content-Type: application/json" \  -d '{    "ad_account_id": "1",    "ad_set_id": "1"  }'
{  "id": "example",  "name": "Customer documents",  "campaign_id": "example",  "status": "ACTIVE",  "effective_status": "example",  "daily_budget": 0,  "lifetime_budget": 0,  "optimization_goal": "example",  "billing_event": "example",  "bid_strategy": "example",  "start_time": "example",  "end_time": "example",  "created_time": "example",  "updated_time": "example",  "targeting": {},  "promoted_object": {},  "attribution_spec": [],  "bid_amount": 0,  "destination_type": "example",  "learning_stage_info": {},  "issues_info": []}