Command Palette

Search for a command to run...

Назад к скиллам
скилл № 35322

google-ads-changelog

Build an exhaustive, human-readable Google Ads CHANGE HISTORY / changelog for a Porter-connected account — what changed, when, by whom, translated into plain…

БесплатноЗапускает вложенные скрипты
portermetricsampleот portermetricsample★ 22 звезды на GitHub

Установить google-ads-changelog в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Google Ads Changelog

Turn the Google Ads change_event resource (the account's audit log) into an exhaustive, plain-English change history — and overlay it against the daily CPA curve so a marketer can SEE which performance moves followed which edits.

The endpoint only gives you a pointer to each change. The value of this skill is the translation: resolving IDs → names, parsing the before→after of each change, and saying exactly what happened ("Added EXACT negative keyword free trial to campaign «Brand – Search»"), not just "a criterion was updated".

A deterministic engine (scripts/translate_changes.py) does the parsing, classification, name-resolution, grouping and CPA overlay. You (the model) run the MCP queries, feed the engine, then add the judgment layer (opportunities, correlations, recommendations).


Hard limits (state these up front, every time)

  • 30 days only. Google Ads change_event cannot return anything older than 30 days. A start date 31 days back errors with "The requested start date is too old." — and the last_30_days preset trips this by one day, so always use an explicit range ending today and starting ≤29 days ago.
  • 10,000 rows max per query. High-velocity accounts will hit this. Page by splitting the window into chunks (e.g. weekly) and merge the rows.
  • change_event is a Google Ads API quirk: some change details only appear on CREATE/REMOVE, never on UPDATE (see "the UPDATE blind spot" below).
  • Zero changes in the window is normal (a dormant/stable account) — report "no changes in the last N days", don't treat it as an error.
  • Deactivated / no-permission account errors with "…not yet enabled or has been deactivated" — tell the user the account is inactive; don't fail silently.

The data surface (verified field names)

All under the google-ads connector, discoverable via list_fields(data_source_name="google-ads", search="change"):

Field (suffix) Meaning
google_ads_change_event_change_date_time YYYYMMDDHHMMSS string (NOT ISO)
google_ads_change_event_change_date YYYYMMDD (use to group by day)
google_ads_change_event_change_resource_type CAMPAIGN, AD_GROUP, AD_GROUP_AD, AD_GROUP_CRITERION, CAMPAIGN_CRITERION, CAMPAIGN_BUDGET, CAMPAIGN_ASSET, AD_GROUP_ASSET, ASSET, BIDDING_STRATEGY, …
google_ads_change_event_resource_change_operation CREATE / UPDATE / REMOVE
google_ads_change_event_changed_fields comma list field mask (status, keyword.text, maximizeConversionValue.targetRoas, …)
google_ads_change_event_old_resource value BEFORE (only changed fields populated)
google_ads_change_event_new_resource value AFTER (only changed fields populated)
google_ads_change_event_user_email who made the change
google_ads_change_event_client_type GOOGLE_ADS_WEB_CLIENT, GOOGLE_ADS_EDITOR, GOOGLE_ADS_SCRIPTS, GOOGLE_ADS_BULK_UPLOAD, GOOGLE_ADS_API, …
google_ads_change_event_change_resource_name customers/{cid}/{collection}/{ids} — the pointer with embedded IDs

Gotchas that WILL bite you

  1. old_resource / new_resource are Python-literal strings, not JSON: {'campaign': {'status': 'PAUSED'}} with single quotes / True / None. Parse with ast.literal_eval, never json.loads. (The engine handles this.)
  2. Porter REORDERS columns vs the fields you requested. Always read the response by the returned columns array, never by request order. (Engine handles this — it indexes by column name.)
  3. query_data runs via execute, not fetch (it is flagged read_only:false). fetch returns not_read_only; retry the identical args on execute.
  4. accounts wants the full account OBJECT, not the id string. Pass the object returned by list_accounts (at minimum id, component_name, source_user_id).
  5. The UPDATE blind spot: on an UPDATE the resources hold ONLY the changed field. A keyword flipped to negative shows {'negative': True} with NO keyword.text. The exact text is available only on CREATE/REMOVE. To label an UPDATE-flip you must resolve the criterion id separately (often these are shared negative-list members — note that and move on unless the user insists).
  6. Don't trust the change↔campaign_name join for completeness. Porter CAN attach google_ads_campaign_name to a change query, but that join may drop account-level changes that have no campaign. Pull changes WITHOUT joins, and resolve names client-side from separate id→name maps (below).
  7. A sort field must also be in fields. Sorting by change_event_change_date_time requires it to be selected, else "Sort field must be included in fields."
  8. Budget changes don't carry the campaign. change_resource_name for a budget is campaignBudgets/{budgetId} — NOT a campaign id. On CREATE the budget's embedded name usually equals the campaign name (eng
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • ad-schedule/SKILL.md
  • bid-strategy/SKILL.md
  • bid-strategy/references/framework.md
  • bid-strategy/references/output.md
  • bid-strategy/references/tools.md
  • campaign-settings/SKILL.md
  • campaign-settings/references/framework.md
  • campaign-settings/references/output.md
  • campaign-settings/references/tools.md
  • change-history/SKILL.md
  • demand-gen/SKILL.md
  • impression-share/.gitignore
  • impression-share/SKILL.md
  • impression-share/references/framework.md
  • impression-share/references/output.md
  • impression-share/references/tools.md
  • impression-share/scripts/build_interactive.py
  • impression-share/scripts/build_porter_page.py
  • impression-share/scripts/decay_core.py
  • impression-share/scripts/example/acme_daily_90d.json
  • impression-share/scripts/example/acme_meta.json
  • impression-share/scripts/make_example.py
  • impression-share/scripts/process.py
  • impression-share/scripts/render.py
  • pmax/SKILL.md
  • pmax/references/framework.md
  • pmax/references/output.md
  • pmax/references/tools.md
  • spend-allocation/SKILL.md
  • spend-allocation/references/framework.md
  • spend-allocation/references/output.md
  • spend-allocation/references/tools.md
  • value-based-bidding/SKILL.md
  • value-based-bidding/references/framework.md
  • value-based-bidding/references/output.md
  • value-based-bidding/references/tools.md

FAQ

Что делает скилл google-ads-changelog?

Build an exhaustive, human-readable Google Ads CHANGE HISTORY / changelog for a Porter-connected account — what changed, when, by whom, translated into plain English (the exact negative keyword, the budget before→after, the tCPA/tROAS, the paused campaign), grouped by day and change type, and overlaid against the daily CPA so you can see which performance moves followed which edits. Use when the user asks "what changed in my Google Ads account", "change history", "changelog", "account audit log", "who changed what", "qué cambios se hicieron en la cuenta", "historial de cambios", or wants to correlate account edits with CPA/performance. Runs on the Porter Metrics MCP (google-ads connector). One account at a time. Google retains only the last 30 days of change history.

Как установить скилл google-ads-changelog?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл google-ads-changelog запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить google-ads-changelog с