SCALIX help

← All tools

gads_create_callout

Google Ads write low risk

Part of the Ad Extensions Agent.

What it does

Create a CalloutAsset (short non-clickable highlight text, <=25 chars) and link it at customer/campaign/ad-group level with field_type=CALLOUT. Asset-based model. Returns {asset_resource_name, link_resource_name, scope}. Accuracy: char limit validated pre-create; callouts are descriptive phrases (e.g., 'Free Shipping'), not URLs. Flow: preview (validate_only=true for char/editorial errors) -> diff (text, scope) -> approval -> execute (partial_failure=true) -> confirm + immutable audit log. 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. validate_only=true forces another preview; validate_only=false alone never commits.

When to use it

Use to add supportable selling-point callouts (e.g., '24/7 Support'). Confirm <=25 chars and that each claim is truthful and landing-page-supported. Provide multiple callouts (typically >=2 to serve) when adding.

Inputs

NameTypeRequiredDescription
customer_idstringyes10-digit CID; strip dashes.
callout_textstringyesCallout phrase, <=25 chars; flag over-limit before send.
scopestringyesEnum CUSTOMER/CAMPAIGN/AD_GROUP.
scope_idstringnoCampaign/ad-group ID; required when scope != CUSTOMER.
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

Callouts must be truthful and supportable, with no clickbait/superlatives the landing page can't substantiate (Misrepresentation). Editorial: no ALL CAPS, no gimmicky symbols/punctuation.

Reminder

No PII in callout text; nothing retained beyond this request.

Errors

Error classMeansWhat to doRetry
INVALID_ARGUMENTcallout_text exceeds 25 chars or is empty.Surface the field error; shorten text.no
ASSET_FIELD_TYPE_ERROR_INVALID_TEXTText fails editorial validation.Report the editorial flag; revise copy.no
FIELD_ERROR_REQUIREDscope_id missing for non-customer scope.Require scope_id.no
TOKEN_REVOKEDToken revoked/expired.Set needs_reauth; prompt reconnect.no
RESOURCE_EXHAUSTEDQuota/QPS exceeded (HTTP 429).Backoff 5/10/20s cap 60s, retry once.yes
PARTIAL_FAILUREAsset/link partial failure in chained op.Return per-op errors.no
PLATFORM_UNAVAILABLEBackend 5xx/INTERNAL.Retry once after backoff.yes

Edge cases

  • Single callout may not serve — callouts show in groups; advise adding several.
  • Duplicate callout text -> existing asset reused; new link still made.
  • Customer scope = account-wide; campaign/ad-group narrows.
  • validate_only=true creates nothing.
  • preview TTL expiry -> re-preview.