SCALIX help

← All tools

gads_set_audience_bid_modifier

Google Ads write medium risk

Part of the Google Ads Audience Agent.

What it does

Set or update the bid modifier on an existing audience criterion attached to an ad group (AdGroupCriterionService update of ad_group_criterion.bid_modifier). bid_modifier is a multiplier (1.0 = no change, 1.25 = +25%, 0.75 = -25%); it adjusts bids for users in the audience without changing targeting (when the criterion is in OBSERVATION/bid_only, this lets you bid differently without restricting reach). WRITE with preview->approve->commit: preview = update mutate validate_only=true + diff (current modifier -> proposed, with rationale) + preview_id; commit = the same call plus that preview_id after the user approves in a later message (the server then runs the real mutate) + audit. Returns {ad_group_criterion_resource_name, old_bid_modifier, new_bid_modifier}. Bid modifier is a ratio, not micros. The preview shows the current modifier next to the proposed one; a modifier outside 0.1-10.0 is refused. PREVIEW SEMANTICS: the first call (no preview_id) is sent to the Google Ads API in validation mode — field, enum, policy and permission errors surface AT PREVIEW, nothing is changed, and the response returns a preview_id. To apply, show the preview to the user, get their approval, and re-call with that preview_id and IDENTICAL arguments within 30 minutes; changed arguments or an expired token fail closed to a fresh preview.

When to use it

Use to bid more/less for an already-attached audience based on its performance. Preview the current vs proposed modifier with a rationale, get explicit approval, then commit. Note OBSERVATION audiences bid-modify without restricting; TARGETING ones already restrict.

Inputs

NameTypeRequiredDescription
customer_idstringyes10-digit CID; strip dashes.
ad_group_idstringyesAd group holding the audience criterion.
criterion_idstringyesThe ad_group_criterion ID of the audience to modify (from gads_attach_audience_to_ad_group or a read). Resource name customers/{cid}/adGroupCriteria/{adGroupId}~{criterionId}.
bid_modifiernumberyesMultiplier in ~0.1-10 (1.0 = no change). Normalize a percentage like +20% to 1.2. Ratio, not micros.
manager_idstringnoOptional MCC login-customer-id.
validate_onlybooleannoOptional. true forces another preview even with a preview_id; false is DEPRECATED and no longer commits — only a valid preview_id applies the write.
preview_idstringnoOmit it to preview: nothing is applied, and the call returns a preview_id bound to this exact request. Pass it only after the user approves that preview in a later message, with the same arguments (leave out validate_only, and add any confirmation flag the preview names). Single-use, expires in 30 minutes; changed arguments need a fresh preview.

Safeguards

A change in two steps. The first call previews and changes nothing; Claude shows you the preview and applies it only after you approve, within 30 minutes and with the same arguments. Every applied change goes to the audit log. How changes are approved.

Policy

Bid modifiers change spend allocation, not policy eligibility; do not use them to redirect spend toward protected-class proxies in restricted verticals (employment/housing/education/credit). Confirm the audience criterion is in OBSERVATION if the intent is to bid-only without restricting traffic.

Reminder

A bid modifier shifts spend toward/away from an audience; confirm the dollar impact before applying.

Errors

Error classMeansWhat to doRetry
INVALID_ARGUMENTbid_modifier out of range or criterion is not a bid-modifiable type.Use a multiplier in range on a valid audience criterion; surface the platform message.no
NOT_FOUNDNo such ad_group_criterion for the given IDs.Confirm the criterion_id via a read; do not guess.no
AD_GROUP_CRITERION_ERRORThe criterion does not support a bid modifier in its current targeting mode.Verify the audience is attached (OBSERVATION supports bid-only); surface the platform message.no
TOKEN_REVOKEDOAuth token expired/revoked.Refresh and retry once; else prompt reconnect (needs_reauth).yes
PERMISSION_DENIEDNo access or out-of-bearer-scope write.Confirm access and write scope; else refuse.no
RESOURCE_EXHAUSTEDRate/quota exceeded (HTTP 429).Backoff 5/10/20s cap 60s, then retry.yes
INTERNAL_ERRORTransient Google server error (5xx).Retry after backoff.yes

Edge cases

  • bid_modifier is a ratio (1.2), not a percent (20) and not micros — normalize percent input.
  • Setting modifier=1.0 effectively clears the adjustment.
  • On TARGETING audiences the modifier still applies but reach is already restricted — clarify the effect.
  • Some bidding strategies (e.g., Maximize Conversions without tCPA) ignore manual bid modifiers -> warn the modifier may be a no-op.
  • Criterion must already exist — this tool updates, it does not create; use gads_attach_audience_to_ad_group first.
  • Preview creates/changes nothing; preview_id TTL expiry -> re-preview; expired token -> refresh once and retry.