ghl_ad_fb_entity_get
Retrieve Facebook campaigns, ad sets, or ads by entity type using location and ad account identifiers.
Instructions
Get entities Retrieve Facebook campaigns, adsets, or ads based on entity type Endpoint: GET /ad-publishing/facebook/entity (Version header: 2021-07-28; source: v3/ad-publishing-v3.json) OAuth scopes: adPublishing.readonly
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | No | Pagination cursor | |
| type | Yes | Integration source type | |
| adSetId | No | Ad set identifier | |
| fetchAll | No | Fetch all entities | |
| searchId | No | Search identifier | |
| campaignId | No | Campaign identifier | |
| entityType | Yes | Entity type to fetch | |
| locationId | Yes | Location identifier | |
| selectedAdAccountId | No | Selected ad account ID |