OverviewProductsPlatformsAPI ReferenceResources
Accounts & Ops

Update account snippets

PUThttps://zernio.com/api/v1/ads/accounts/structured-snippets

Edits existing Google Ads structured snippets in place; the change applies everywhere that snippet is used.

Send updates with assetResourceName and the fields to change. An asset is shared: changes affect every attachment using it. Omitted fields stay unchanged. The operation consumes the Google operations budget and invalidates affected cached lists.

PlatformsGoogle

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Body

application/json

What every request needs

accountIdstringRequired

Zernio Google Ads connection id.

updatesarray of objectRequired
assetResourceNamestringRequired

Asset resource name returned by a list operation. Must belong to the selected customer.

Optional parameters3 fields
adAccountIdstring

Platform ad account ID (Google customer ID, digits only). Required when the connection has multiple customers.

customerIdDeprecatedstring

Alias of adAccountId, kept for existing callers

updates[].structuredSnippetAssetGoogleStructuredSnippet

Responses

Success· the request worked

Errors· the request failed

PUT/v1/ads/accounts/structured-snippets
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.adaccounts.updateAccountStructuredSnippets({  body: {    accountId: 'account_abc123',    updates: [      {        assetResourceName: 'Example',      },    ],  },});console.log(data);
{  "updated": 0,  "customerId": "string"}
OpenAPI specification
Was this page helpful?