Live read: Get one asset group
Asks the provider for one asset group now, and gives its payload exactly as Google Ads sends it: its id, its name, its status and the campaignId of the Performance Max campaign that holds it.
Those four keys are the whole payload. AdCrunch reads an asset group with one query, and the headlines, the images, the videos and the audience signals are separate Google Ads resources that this API does not read.
When there is nothing to give
404 — the provider holds no such asset group on this ad account, the provider has no asset group at all, or your organization does not own the advertiser in the path. They are deliberately not told apart: distinguishing them would confirm that a asset group exists to somebody who cannot read it.
Request
- Base URL: https://api.adcrunch.dev
- URL: https://api.adcrunch.dev/observe/{advertiserId}/asset-groups/{id}
- Auth: HTTP bearer
Path parameters
The ad account to read, prefixed acc_. It must belong to your organization. One that does not answers 404, with error of not_found.
The id the provider gives, with no prefix. Every listing answers it as id.
Response
The payload the provider holds now, verbatim.
Example response
{
"campaignId": "20993874561",
"id": "6390218745",
"name": "Performance Max — winter",
"status": "ENABLED"
}Changes
No recorded changes to this operation across all 1 revision of this API.