Zernio
Zernio
API Reference

Campaigns and Ads

Overview

Get campaign treeGETGet daily account metricsGET

Campaigns

List campaignsGETCreate a standalone campaignPOSTUpdate a campaignPUTDuplicate a campaignPOSTDelete a campaignDELETEPause or resume a campaignPUTPause or resume many campaignsPOSTList campaign assetsGETAttach campaign assetsPOSTUpdate campaign assetsPUTRemove campaign assetsDELETERead a Google campaign's device, location, and language targetingGETEdit a Google campaign's device, location, or language targetingPUT

Ad Sets

List ad setsGETCreate a standalone ad groupPOSTLive ad-set details incl. learning phaseGETUpdate an ad setPUTDuplicate an ad setPOSTDelete an ad setDELETEPause or resume a single ad setPUTList ad-group assetsGETAttach ad-group assetsPOSTUpdate ad-group assetsPUTRemove ad-group assetsDELETE

Ads

List adsGETGet ad detailsGETCreate standalone adPOSTBoost post as adPOSTUpdate adPUTDuplicate an adPOSTCancel an adDELETEPause or resume a single adPUT

Keywords

List Search keywordsGETAdd Search keywords to an ad groupPOSTPause or enable a Search keywordPATCHRemove a Search keywordDELETEList campaign-level negative keywordsGETReplace campaign-level negative keywordsPUTList campaign negative listsGETReplace campaign negative listsPUT

Bidding

Read a campaign's current biddingGETList Google Ads portfolio bid strategiesGETCreate a Google Ads portfolio bid strategyPOSTUpdate a Google Ads portfolio bid strategyPATCH
Dashboard
llms.txtOpenAPI
OverviewPlatformsAPI ReferenceResources
Campaigns and Ads

List campaign assets

Lists directly attached Google assets. Fresh reads are cached for 10 minutes; exhausted quota may return the last successful read with stale=true. Inherited assets are not included.


PlatformsGoogle
GET
/v1/ads/campaigns/{campaignId}/assets

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Path Parameters

campaignId*string

Numeric Google platform id.

Match^\d+$

Query Parameters

accountId*string

Zernio Google Ads connection id.

Match^[a-fA-F0-9]{24}$
customerId?string

Google customer id without dashes. Required when the connection has multiple customers.

Match^\d+$

Response Body

application/json

application/json

application/json

application/json

{  "campaignId": "string",  "sitelinks": [    {      "assetResourceName": "string",      "campaignAssetResourceName": "string",      "text": "string",      "linkUrl": "http://example.com",      "description1": "string",      "description2": "string"    }  ],  "callouts": [    {      "assetResourceName": "string",      "campaignAssetResourceName": "string",      "calloutText": "string"    }  ],  "structuredSnippets": [    {      "assetResourceName": "string",      "campaignAssetResourceName": "string",      "header": "string",      "values": [        "string"      ]    }  ],  "cachedAt": "2019-08-24T14:15:22Z",  "stale": true}
Was this page helpful?

Pause or resume many campaigns

Process up to 50 campaigns in one call. Each campaign is updated concurrently and the response contains a per-campaign result so a single bad row does not fail the whole batch.

Attach campaign assets

Creates and attaches sitelinks, callouts and structured snippets in one Google mutation.