Get entities
GET/ad-publishing/google/entity
Retrieve Google campaigns, ad groups, or ads based on entity type
Request
Version stringrequired
API Version
Available options
v4locationId stringrequired
Location identifier
type stringrequired
Integration type
Available options
AD_MANAGERINTEGRATIONcampaignId string
Campaign identifier
adGroupId string
Ad group identifier
entityType stringrequired
Entity type
Available options
CAMPAIGNADGROUPADsearchId string
Comma-separated Google Ads IDs to filter by
startDate string
Filter start date
endDate string
Filter end date
selectedAdAccountId string
Selected ad account ID
A { data } envelope whose items follow entityType — campaigns, ad groups, or ads
- application/json
- Schema
- Example (auto)
Schema
dataobject[]
Campaigns, ad groups, or ads, shaped by the requested entityType
{
"data": [
{
"resourceName": "customers/6776452901/campaigns/22173400513",
"id": "22173400513",
"name": "Spring promotion",
"status": "PAUSED"
}
]
}