Update a Performance Max asset group
Change the name, status (ENABLED or PAUSED), final URLs or display paths. Only the fields sent are written; null on path1 or path2 clears it. Change assets with the /assets endpoint and product targeting with /listing-group-filters. validateOnly: true validates without writing.
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+$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
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.updateGoogleAssetGroup({ path: { campaignId: 'campaign_abc123', assetGroupId: 'assetgroup_abc123', }, body: { name: 'Example', status: 'ENABLED', finalUrls: [ 'https://example.com', ], },});console.log(data);{ "assetGroupId": "string", "updated": [ "string" ], "validateOnly": true}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.
Remove a Performance Max asset group
Removes the asset group on Google (status REMOVED, not reversible). Pass validateOnly=true to validate without removing.