OverviewPlatformsAPI ReferenceResources
Accounts & Ops

Remove account snippet

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

Detaches a structured snippet from the Google Ads account level, leaving it on any campaigns or ad groups that still use it.

Removes the customer_asset attachment only. The underlying shared asset and its campaign or ad-group attachments remain. Fields go in the query string. A JSON body with the same fields is also accepted and, when sent, the query string is ignored.

PlatformsGoogle

Authentication

AuthorizationBearer tokenRequired

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

Query parameters

accountIdstringRequired

Zernio Google Ads connection id.

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

assetIdstringRequired

Numeric Google Ads asset id.

Responses

Success· the request worked

Errors· the request failed

DELETE/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.removeAccountStructuredSnippet({  query: {    accountId: 'account_abc123',    assetId: 'asset_abc123',  },});console.log(data);
{  "removed": true,  "customerId": "string"}
OpenAPI specification
Was this page helpful?