Install
$ agentstack add skill-ccccchuck-google-ads-agent-skill-ads-fetch ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
获取 Google Ads 数据
何时使用
- 用户想查看广告表现数据
- 需要指定日期范围的数据
- 获取关键词、广告系列或搜索词报告
可用脚本
1. 关键词表现
python3 .agents/skills/google-ads/scripts/fetch_keywords.py --date_range TODAY --limit 20
支持的日期范围:TODAY, YESTERDAY, LAST_7_DAYS, LAST_14_DAYS, LAST_30_DAYS, LAST_90_DAYS, THIS_MONTH, LAST_MONTH
输出字段:Campaign, Ad Group, Keyword, Impressions, Clicks, CTR, Conversions, Cost, CPC
2. 广告系列表现
python3 .agents/skills/google-ads/scripts/fetch_campaigns.py --date_range LAST_7_DAYS
输出字段:Campaign Name, Status, Impressions, Clicks, CTR, Conversions, Cost, CPC
3. 搜索词报告
python3 .agents/skills/google-ads/scripts/fetch_search_terms.py --date_range LAST_7_DAYS --limit 30
输出字段:Search Term, Campaign, Ad Group, Match Type, Impressions, Clicks, Conversions, Cost
注意事项
- 所有脚本在项目根目录下运行
- 数据有 2-3 小时延迟
- 费用单位为账户设置的货币;脚本只输出数值,不假设币种
- 如果遇到
RefreshError,执行ads-setup重新认证 - 如果使用者启用了操作记录工作流,每次获取广告系列、关键词或搜索词数据后,建议追加到
ad-ops/operations.md,并在需要后续评估时写入ad-ops/experiments.jsonl
数据读取记录要求
即使只是查看数据,也要记录为 read_only 或 analyze,避免后续不知道当时参考了哪些数据。
记录至少包含:
- 日期范围、查询脚本、查询时间、数据延迟说明
- Campaign 级指标:名称、状态、展示、点击、CTR、花费、转化、CPC、CPA
- Keyword 级指标:Campaign、Ad Group、Keyword、Match Type、Status、Bid、展示、点击、CTR、花费、转化、CVR、CPC、CPA
- Search Term 级证据:搜索词、触发关键词、匹配类型、展示、点击、花费、转化、建议动作
- 若数据将用于改动,保存 baseline 快照到
ad-ops/snapshots/EXP-YYYYMMDD-NNN-baseline.json
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: ccccchuck
- Source: ccccchuck/google-ads-agent-skill
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.