OverviewPlatformsAPI ReferenceResources
Accounts & Ops

Update account sitelinks

PUThttps://zernio.com/api/v1/ads/accounts/sitelinks

Edits existing Google Ads sitelinks in place; the change applies everywhere that sitelink 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 parameters4 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[].sitelinkAssetobject
updates[].finalUrlsarray of string (uri)

Responses

Success· the request worked

Errors· the request failed

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