Get a Performance Max asset group
One asset group with its linked assets, ad strength, primary status and listing-group tree. Uses a 10-minute cache, served stale when Google quota is exhausted; any write below clears it.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
Google Ads campaign id.
^\d+$Google asset group id.
^\d+$Response Body
application/json
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.adcampaigns.getGoogleAssetGroup({ path: { campaignId: 'campaign_abc123', assetGroupId: 'assetgroup_abc123', },});console.log(data);{ "assetGroup": { "id": "string", "resourceName": "string", "campaignId": "string", "name": "string", "status": "string", "finalUrls": [ "http://example.com" ], "finalMobileUrls": [ "http://example.com" ], "path1": "string", "path2": "string", "adStrength": "string", "primaryStatus": "string", "primaryStatusReasons": [ "string" ], "assets": [ { "resourceName": "string", "fieldType": "string", "status": "string", "text": "string", "imageUrl": "http://example.com", "youtubeVideoId": "string" } ], "listingGroupFilters": [ { "id": "string", "resourceName": "string", "parentResourceName": "string", "type": "SUBDIVISION", "listingSource": "string", "dimension": {} } ] }, "cachedAt": "2019-08-24T14:15:22Z", "stale": true}Get campaign conversion goals
A Google campaign's conversion goals (CampaignConversionGoal, `biddable` per category and origin) and its goal config (ConversionGoalCampaignConfig): `goalConfigLevel` CUSTOMER means the campaign follows the account-default goals, CAMPAIGN means it uses its own goals or `customConversionGoalId`.
Remove a Performance Max asset group
Removes the asset group on Google (status REMOVED, not reversible). Pass validateOnly=true to validate without removing.