Pause or enable a Search keyword
Pauses or re-enables a single Google Search keyword.
Changes ad_group_criterion.status for one keyword criterion (M.140).
Negative keywords have no status on Google and cannot be paused or enabled.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
Zernio keyword ID (id), or Google's native {adSetId}~{platformCriterionId} (the tail of resourceName, e.g. 1234567890~987654321). A bare criterion id is rejected because it is only unique within its ad group.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.adcampaigns.updateAdKeyword({ path: { keywordId: 'keyword_abc123', }, body: { status: 'active', },});console.log(data);{ "keyword": { "id": "string", "platformCriterionId": "string", "resourceName": "string", "accountId": "string", "profileId": "string", "platform": "google", "adAccountId": "string", "campaignId": "string", "campaignName": "string", "campaignStatus": "string", "adSetId": "string", "adSetName": "string", "adSetStatus": "string", "keyword": "string", "matchType": "exact", "status": "active", "negative": true, "qualityScore": 0, "quality": { "score": 0, "expectedCtr": "BELOW_AVERAGE", "adRelevance": "BELOW_AVERAGE", "landingPageExperience": "BELOW_AVERAGE" }, "syncedAt": "2019-08-24T14:15:22Z", "metrics": { "windowDays": 0, "clicks": 0, "impressions": 0, "cost": 0, "conversions": 0, "firstPageCpc": 0, "firstPositionCpc": 0 } }}Add Search ad-group keywords
Adds keywords, or negative keywords, to a Google Search ad group without replacing the ones already there. Adds one or more keyword criteria to an existing Google Search ad group, without touching the keywords already there (unlike the whole-set diff on `PUT /v1/ads/{adId}`, `keywords`/`negativeKeywords` in `platformSpecificData`, which replaces the set). Set `negative: true` to add ad-group-level negatives instead of positive keywords.
Remove a Search keyword
Removes a single keyword or negative keyword from a Google Search ad group. Removes one keyword criterion (positive or negative) from its ad group (M.140).