ad_manager_fb_get_entity
Retrieve Facebook ad campaigns, ad sets, or ads from GoHighLevel's ad manager using filters like account ID, campaign ID, search, and pagination to get the needed data.
Instructions
Get entities
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"type": "<type>",
"entityType": "<entityType>"
},
"name": "ad_manager_fb_get_entity"
}
}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 | No | Location identifier Defaults to GHL_LOCATION_ID when omitted. | |
| selectedAdAccountId | No | Selected ad account ID |