Remove a Performance Max asset group
Removes the asset group on Google (status REMOVED, not reversible). Pass validateOnly=true to validate without removing.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
^\d+$^\d+$Query Parameters
falseResponse 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.removeGoogleAssetGroup({ path: { campaignId: 'campaign_abc123', assetGroupId: 'assetgroup_abc123', },});console.log(data);{ "assetGroupId": "string", "removed": true, "validateOnly": true}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.
Link or unlink asset group assets
Link existing assets or new content to the asset group, and unlink assets, in one atomic request. Links are applied before unlinks, so swapping the last asset of a role does not trip Google's per-role minimum. Unlinking removes the link only; the asset stays in the account library. validateOnly: true validates without writing.