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★ 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_eventcannot return anything older than 30 days. A start date 31 days back errors with "The requested start date is too old." — and thelast_30_dayspreset 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_eventis 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
old_resource/new_resourceare Python-literal strings, not JSON:{'campaign': {'status': 'PAUSED'}}with single quotes /True/None. Parse withast.literal_eval, neverjson.loads. (The engine handles this.)- Porter REORDERS columns vs the
fieldsyou requested. Always read the response by the returnedcolumnsarray, never by request order. (Engine handles this — it indexes by column name.) query_dataruns viaexecute, notfetch(it is flaggedread_only:false).fetchreturnsnot_read_only; retry the identical args onexecute.accountswants the full account OBJECT, not the id string. Pass the object returned bylist_accounts(at minimumid,component_name,source_user_id).- The UPDATE blind spot: on an UPDATE the resources hold ONLY the changed
field. A keyword flipped to negative shows
{'negative': True}with NOkeyword.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). - Don't trust the change↔campaign_name join for completeness. Porter CAN
attach
google_ads_campaign_nameto 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). - A
sortfield must also be infields. Sorting bychange_event_change_date_timerequires it to be selected, else "Sort field must be included in fields." - Budget changes don't carry the campaign.
change_resource_namefor a budget iscampaignBudgets/{budgetId}— NOT a campaign id. On CREATE the budget's embeddednameusually equals the campaign name (eng
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- 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 запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…