lucianfialho/gmp-cli/gmp-ads

Claude Code and agent skill by lucianfialho/gmp-cli

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Google Ads: Campaigns, ad groups, keywords, search terms, and raw GAQL queries.

Install

npx vskill@latest install lucianfialho/gmp-cli/gmp-ads

SKILL.md

ads (Google Ads REST API)

PREREQUISITE: Read ../gmp-shared/SKILL.md for auth, global flags, and output formats.
EXTRA AUTH: Google Ads requires a developer token. Set it with:
```bash
gmp auth set-developer-token YOUR_TOKEN
```
If using a Manager Account (MCC), also set:
```bash
gmp auth set-login-customer-id 1234567890
```
bash
gmp ads <command> [flags]

Commands

CommandDescription
accountsList accessible customer accounts
`campaigns`Campaign performance report
adgroupsAd group performance report
keywordsKeyword performance report
search-termsSearch terms report (actual queries that triggered ads)
queryRun a raw GAQL query

Quick Reference

List accounts
bash
# Simple list (no MCC needed)
gmp ads accounts
# Detailed list via MCC
gmp ads accounts -c 1234567890 -f table
Ad group performance
bash
gmp ads adgroups -c 1234567890 -f table
gmp ads adgroups -c 1234567890 --campaign "Brand" -f table
Keyword performance
bash
gmp ads keywords -c 1234567890 -f table
gmp ads keywords -c 1234567890 --campaign "Brand" -l 20 -f table
Search terms
bash
gmp ads search-terms -c 1234567890 -f table
gmp ads search-terms -c 1234567890 --campaign "Brand" -f table
Raw GAQL query
bash
gmp ads query -c 1234567890 -q "SELECT campaign.name, metrics.clicks FROM campaign WHERE segments.date DURING LAST_7_DAYS"

Sorting (--sort, --order)

campaigns, adgroups, keywords, and search-terms each take --sort <field> --order <asc|desc> (default desc), rewriting the report's ORDER BY clause. Each command only accepts the field names it actually outputs:

CommandValid --sort fieldsDefault order
campaignsimpressions, clicks, cost, conversions, convValue, ctr, avgCpccost DESC
adgroupsimpressions, clicks, cost, conversions, ctrcost DESC
keywordsimpressions, clicks, cost, conversions, ctr, avgCpc, qualityScoreimpressions DESC
search-termsimpressions, clicks, cost, conversions, ctrimpressions DESC
bash
gmp ads campaigns -c 1234567890 --sort cost --order desc -f table # biggest spenders first
gmp ads keywords -c 1234567890 --sort qualityScore --order asc -f table # worst quality score first

An unknown --sort value errors with the exact list of fields that command accepts.

Date Range Values

Google Ads uses predefined date range constants:

ValueDescription
LAST_7_DAYSLast 7 days
LAST_30_DAYSLast 30 days (default)
THIS_MONTHCurrent month
LAST_MONTHPrevious month
LAST_14_DAYSLast 14 days
LAST_BUSINESS_WEEKLast business week

Tips

  • Customer IDs can include dashes (123-456-7890) or not (1234567890) -- both work.
  • Costs are returned in micros and automatically converted (divided by 1,000,000).
  • CTR and rates are automatically formatted as percentages.
  • Use gmp ads query for any GAQL query not covered by built-in commands.
  • GAQL reference: the query language supports SELECT, FROM, WHERE, ORDER BY, LIMIT.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
34
Repository forks
3
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/lucianfialho/gmp-cli/gmp-ads/badge)](https://verified-skill.com/skills/lucianfialho/gmp-cli/gmp-ads)

Something wrong with this skill or its page? Tell us.