Ad Campaigns

Attach campaign assets

Changed on

Adds sitelinks, callouts, structured snippets and images to a Google campaign in one step.

Creates and attaches sitelinks, callouts, structured snippets and image assets in one Google mutation. Google shows images only on accounts it deems eligible (account age, policy history, vertical).

post/v1/ads/campaigns/{campaignId}/assets

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/ads/campaigns/{campaignId}/assets
  • Auth: HTTP bearer

Path parameters

campaignIdstring required

Numeric Google platform id.

Request body

accountIdstring required

Zernio Google Ads connection id.

adAccountIdstring

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

customerIdstring

Alias of adAccountId, kept for existing callers

calloutsstring[]
imagesstring[]

Public image URLs, uploaded to Google as image assets. Landscape 1.91:1 (min 600x314) or square 1:1 (min 300x300), up to 5 MB each.

Response

Assets created and attached.

campaignIdstring
sitelinkAssetResourceNamesstring[]
calloutAssetResourceNamesstring[]
structuredSnippetAssetResourceNamesstring[]
imageAssetResourceNamesstring[]

Changes

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status

    • warning

      added the new account enum value to the / response property for the response status

    • warning

      added the new account enum value to the / response property for the response status

    • warning

      added the new account enum value to the / response property for the response status

    • warning

      added the new account enum value to the / response property for the response status