agentleFS
gomarble-aigomarble-ai/marketing-agent/skills/google-ads-create-master-skill/SKILL.md

google-ads-create-master-skill

Skill15 starsChanged 36 days agoMITView on GitHub

MUST load FIRST for any Google Ads create, update, or mutation task. Master workflow for create campaigns, ad groups, ads, assets, sitelinks, experiments, negative keyword lists, bid modifiers, pause/rename/update. Triggers: any Google Ads write intent.

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. About 0 are common, 7 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Always honor google-ads-guardrails before proposing any change.

    line 30
  2. Distinctive:

    Read the user's request and identify:

    line 36
  3. Distinctive:

    If the entity type is ambiguous (e.g.

    line 42
  4. Distinctive:

    Run targeted GAQL queries to fill in what's needed for a clean propose.

    line 48
  5. Very specific:

    If the account has no conversion tracking and the user asked for smart bidding, the validator will reject — instead, propose …

    line 57
  6. Very specific:

    Read the relevant sub-skill from the index above.

    line 63
  7. Distinctive:

    If a step fails:

    line 85
  8. Very specific:

    Read validation_errors[] and platform_errors[] carefully.

    line 86
  9. Distinctive:

    After execution succeeds, post one short confirmation line per entity.

    line 93
  10. Very specific:

    Empty account, no reference campaigns: Use cold-start defaults — MAXIMIZE_CLICKS bidding, single GEO from the user's market, English …

    line 110
  11. Distinctive:

    Multiple items in one batch (UPDATE tools): Use a single propose call with N items in the array — never split into N calls.

    line 112
  12. Very specific:

    Re-using a budget (budget_id): Always GAQL-confirm the budget exists and is not removed before referencing.

    line 115
  13. Distinctive:

    Never mention "skill", "protocol", "propose tool", or internal tool names in user-facing output — describe what's happening in business …

    line 128

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Google Ads Mutation Workflow

Master workflow for any Google Ads create or update operation — campaigns, ad groups, ads, assets, experiments, shared negative lists, bid modifiers. Sequence is fixed: confirm intent → pull context → propose as a dry run → show the exact changes → explicit user yes → apply with mode: "live" → confirm.

Tool behavior: Every google_ads_propose_* tool both validates and applies: call it with mode: "dryrun", show the user every proposed change (entity, current value, new value), and only after an explicit yes call it again with mode: "live" and the approved operation_ids. There is NO separate execute tool of any kind. Campaign + ad group + ad creation happens in ONE call to google_ads_propose_create_campaign_structure (the legacy google_ads_propose_create_campaign / _create_adgroup / _create_ad tools no longer exist — never call them). Execution is a single atomic mutate: the whole structure lands or nothing does. Capture the returned IDs and resource names from the tool response.


Sub-Skill Index

Each step has a dedicated sub-skill. Read the sub-skill at its step — not all upfront.

StepRead beforePath
Campaign — create slot / updateFilling the campaign slot of google_ads_propose_create_campaign_structure, or calling google_ads_propose_update_campaignsreferences/campaign.md
Ad group — create slot / updateFilling the adgroup slot of google_ads_propose_create_campaign_structure, or calling google_ads_propose_update_adgroupsreferences/ad-group.md
Ads (RSA) — create slot / updateFilling the ads array of google_ads_propose_create_campaign_structure, or calling google_ads_propose_update_adsreferences/ad.md
Create / update asset, update PMax asset groupCalling google_ads_propose_create_asset, google_ads_propose_update_asset, or google_ads_propose_update_pmax_asset_groupreferences/asset.md
Create / update experimentCalling google_ads_propose_create_experiment or google_ads_propose_update_experimentreferences/experiment.md
Create / update shared negative keyword listCalling google_ads_propose_create_negative_keyword_list or google_ads_propose_update_negative_keyword_listreferences/negative-keyword-list.md
Adjust bid modifiers / ad scheduleCalling google_ads_propose_update_bid_modifiersreferences/bid-modifiers.md

Always honor google-ads-guardrails before proposing any change.


Phase 1 — Confirm the Mutation Intent

Read the user's request and identify:

  • Action — create or update?
  • Entity type — campaign / ad group / ad / asset / experiment / negative list / bid modifier
  • Customer ID — must be 10 digits, no dashes. Confirm with the user only if multiple accounts are accessible or the request is ambiguous.
  • Manager ID — required only when operating cross-account through an MCC.

If the entity type is ambiguous (e.g. user says "boost mobile by 20%" — could be DEVICE bid modifier or campaign-level mobile bid), ask exactly one clarifying question. Otherwise proceed.


Phase 2 — Pull Just-Enough Context

Run targeted GAQL queries to fill in what's needed for a clean propose. Don't dump raw rows at the user — synthesize into 1–3 lines.

Common probes (run only what's relevant):

  • customer.currency_code — needed for any budget input.
  • Existing campaign_budget.id — when reusing a budget instead of creating one.
  • campaign.advertising_channel_type + campaign.bidding_strategy_type — when switching strategies on update.
  • ad_group.id/name + parent campaign.id — when adding ads or keywords to an existing group.
  • customer.conversion_tracking_status — required gate for smart bidding (TARGET_CPA / MAXIMIZE_CONVERSIONS / TARGET_ROAS / MAXIMIZE_CONVERSION_VALUE).

If the account has no conversion tracking and the user asked for smart bidding, the validator will reject — instead, propose MAXIMIZE_CLICKS (TARGET_SPEND) and tell the user why.


Phase 3 — Propose

Read the relevant sub-skill from the index above. Build the propose call with all auto-detected values filled in. Each entry in a batched call returns its own operation_id, so the user can approve or decline each item.

Output a tight summary table to the user before the propose tool returns its preview — keep it short:

FieldProposed valueSource
.........

After the dry-run call returns, show the user each proposed change (entity, current value, new value) and ask for an explicit yes. Then call the same tool with mode: "live" and only the approved operation_ids; that response includes the execution result and any returned IDs/resource names.


Phase 4 — Read the Result

The propose tool returns one merged response covering propose and execute. Inspect it:

  • success: true and execution_results[] populated → mutation landed. Capture each entry's entity_id, resource_names, and surface the relevant IDs to the user.
  • success: false and execution_results[i].success === false → mutation failed at the platform. Read error_code, error, platform_errors[] from that entry.
  • validation_errors[] populated → propose-side validation rejected before any approval prompt. Fix the inputs and re-propose.
  • rejected_operation_ids[] populated → user declined. Do nothing further unless they ask.
  • timeout_operation_ids[] populated → user didn't act in the active window. They can still approve via the panel for 24 hours — let them know, then stop.

If a step fails:

  1. Read validation_errors[] and platform_errors[] carefully. If the root cause is fixable from the agent side (e.g. validation, bad ID), correct it and retry once.
  2. If the same step fails again or the error needs a manual fix in Google Ads UI (policy violation, account suspension, missing permission), stop and surface it cleanly. Don't loop on the same broken payload — explain what failed and what the user needs to do.

Phase 5 — Confirm

After execution succeeds, post one short confirmation line per entity. Format:

Done. Created campaign <name> (id <id>) ENABLED and ad group <name> (id <id>) ENABLED. Ads are PAUSED — enable when ready.

Default status convention (mirrors Meta):

  • Campaigns — created ENABLED (active)
  • Ad groups — created ENABLED (active)
  • Ads — created PAUSED. Ads are the user's final gate before spend begins.

Even when the user says "launch it" or "go live", new ads stay PAUSED until the user explicitly approves an enable step. To enable: separate explicit propose call — google_ads_propose_update_ads setting status: ENABLED. (Dry run first; apply with mode: "live" only after an explicit yes.)

We only flip between ENABLED and PAUSED. There is no removal — the API supports it, but our skill set deliberately does not. If the user asks to "delete" or "remove" an entity, propose pausing it instead and explain.


Edge Cases

  • Empty account, no reference campaigns: Use cold-start defaults — MAXIMIZE_CLICKS bidding, single GEO from the user's market, English language, ~$30–$50/day budget. Flag the cold start once: "No active campaigns to mirror — using defaults; happy to adjust before approval."
  • Smart bidding requested but no conversion tracking: Propose MAXIMIZE_CLICKS instead. Tell the user the account needs conversion tracking before TARGET_CPA / TARGET_ROAS / MAXIMIZE_CONVERSIONS / MAXIMIZE_CONVERSION_VALUE will work.
  • Multiple items in one batch (UPDATE tools): Use a single propose call with N items in the array — never split into N calls.
  • Any create request — campaign, ad group, ads, or all three ("create a campaign with an ad group and ads"): ONE call to google_ads_propose_create_campaign_structure with campaign + adgroup + ads slots. Each level is a config to create XOR an existing id (campaign/campaign_id, adgroup/adgroup_id). The server links levels via temp IDs inside one atomic mutate — you NEVER capture and thread IDs between create steps. ONE ad group per call; more ad groups → additional calls passing campaign_id. All ads in a call land in that call's single ad group.
  • Rejection semantics: the execution is all-or-nothing. If the user rejects every ad of a launch that proposed ads — or rejects a parent whose children were approved — the server creates NOTHING (no orphan campaign/ad group shells).
  • Re-using a budget (budget_id): Always GAQL-confirm the budget exists and is not removed before referencing.
  • Cross-account (MCC): manager_id must be set on the propose call. Verify the manager has linkage to the customer before proposing.

Output Rules

  • Phase 1 / Phase 2 synthesis: 1–3 lines. Account, currency, reference campaign or "cold start". Done.
  • Phase 3 summary table: Compact. Only fields the user could reasonably want to override.
  • Approval: Show the dry-run changes once, clearly, and ask for an explicit yes before calling with mode: "live".
  • Phase 4 errors: Short error line + suggested fix. No raw API dumps.
  • Phase 5 confirmation: One line per executed entity. Then stop.

Never mention "skill", "protocol", "propose tool", or internal tool names in user-facing output — describe what's happening in business terms.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.