ghl_ad_google_entity_get
Retrieve Google Ads campaigns, ad groups, or ads by entity type and filter results by location, date range, campaign, ad group, or Google Ads IDs.
Instructions
Get entities Retrieve Google campaigns, ad groups, or ads based on entity type Endpoint: GET /ad-publishing/google/entity (Version header: v3; source: v3/ad-publishing-v3.json) OAuth scopes: adPublishing.readonly
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": {
"locationId": "<locationId>",
"type": "<type>",
"entityType": "<entityType>"
},
"name": "ghl_ad_google_entity_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Integration type | |
| endDate | No | Filter end date | |
| searchId | No | Comma-separated Google Ads IDs to filter by | |
| adGroupId | No | Ad group identifier | |
| startDate | No | Filter start date | |
| campaignId | No | Campaign identifier | |
| entityType | Yes | Entity type | |
| locationId | Yes | Location identifier | |
| selectedAdAccountId | No | Selected ad account ID |