Ads API •References / Ad Sets / Get Ad Set Links
Get Ad Set Links
Returns a list of available ad set links.
Request
POST
/adSetlinks
- organization_idsarray of strings
- ad_account_idsarray of strings
- ad_set_link_idsarray of strings
- limitinteger [int32]Example:
2
- offsetinteger [int32]Example:
0
Response
- idstring [uuid]
- ad_set_idstring [uuid]
- idstring [uuid]Required
- versioninteger [int64]RequiredExample:
1
- statusstring [ad-set-link-approval-status]Allowed values:
"ACTIVE"
,"APPROVED"
,"PENDING_APPROVAL"
,"REJECTED"
,"REQUIRES_REAPPROVAL"
,"ARCHIVED"
Example:"ACTIVE"
- active_statusstring [ad-set-link-active-status]Allowed values:
"ACTIVE"
,"PAUSED"
Example:"ACTIVE"
- reject_reasonstringExample:
"Reject reason"
- versioninteger [int64]Example:
1
- total_ad_set_linksinteger [int64]
Response sample
{ "ad_set_links": [ { "id": "mk66a2eb-35cf-46a4-8d2e-0j95dfc133l9", "ad_set_id": "mk66a2eb-35cf-46a4-8d2e-0j95dfc133l9", "ad": { "id": "mk66a2eb-35cf-46a4-8d2e-0j95dfc133l9", "version": 1 }, "status": "ACTIVE", "active_status": "ACTIVE", "reject_reason": "Reject reason", "version": 1 } ], "total_ad_set_links": 2}