Apply Google Ads recommendations
Apply up to 100 recommendations. This changes the account (budgets, bidding, keywords, assets) and is not reversible or idempotent; Google offers no validate-only mode for it. Items run in partial-failure mode, so one stale recommendation does not block the rest. parameters is optional and takes exactly one key named for the recommendation type, in Google's ApplyRecommendationOperation shape (for example campaignBudget: { newBudgetAmountMicros } or keyword: { matchType, cpcBidMicros }); omit it to apply Google's suggested values.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
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.applyGoogleRecommendations({ body: { accountId: 'account_abc123', recommendations: [ { resourceName: 'Example', }, ], },});console.log(data);{ "adAccountId": "string", "results": [ { "resourceName": "string", "status": "applied", "error": "string" } ]}List Google Ads recommendations
Google's optimization recommendations for one ad account: type, estimated impact (base vs potential metrics, cost in account currency units), the campaign, ad group or budget they target, and the type-specific payload Google returns (`details`, in Google's own shape with micros). Filter by campaignId and types. Cached for 10 minutes and cleared by apply or dismiss; served stale when Google quota is exhausted.
Dismiss Google Ads recommendations
Dismiss up to 100 recommendations so Google stops suggesting them. Items run in partial-failure mode.