Skills Prompts Hues

Popular categories

Agent skill · Google Agent Skills

/google-ads-api-quickstart Get a first Google Ads API request working end to end

The Google Ads API quickstart takes a developer from nothing to a script that lists campaigns. It resolves the current API and library versions at run time, explains the Cloud project access levels that replaced developer tokens, sets up OAuth and the customer IDs, loads the setup guide for your language or REST, and diagnoses the most common permission errors.

Works with

  • Any agent supported by the skills CLI
  • Claude Code
  • Codex
  • Antigravity CLI

When to use it

  • You are starting with the Google Ads API and need credentials and a working example.
  • Your calls fail with USER_PERMISSION_DENIED in a manager and client account setup.
  • You see CLOUD_PROJECT_NOT_APPROVED_FOR_PRODUCTION when calling a live account.

How it works

  1. 1
    Resolve versions

    The agent checks release notes for the newest API version and current runtime minimums instead of hardcoding them, with stated offline fallbacks.

  2. 2
    Set up access

    It enables the API on a Cloud project, explains Test versus production access levels, and creates a desktop OAuth client with you as a test user.

  3. 3
    Get tokens and IDs

    It generates a refresh token with gcloud application-default login and collects the client and manager customer IDs without hyphens.

  4. 4
    Pick a client

    It loads the reference for Python, Java, .NET, PHP, Ruby, Perl or REST and fills in version placeholders before writing code.

  5. 5
    Troubleshoot statically

    For access errors it reviews configuration rather than rerunning scripts, adding login_customer_id or explaining which access level is needed.

What it steers the agent away from

  • Hardcoded API versions that go stale.
  • Sending users to request developer tokens, which the skill says were sunset.
  • Workarounds that bypass access-level checks or widen OAuth scopes.

Install this skill

It installs with the Google Agent Skills pack.

Any agent supported by the skills CLIPrompts you to choose skills, target agents and project or global scope; the update command can also remove skills that were dropped.
npx skills add google/skills
npx skills update
Claude Code (plugins)Plugins bundle skills with the matching Google MCP servers.
claude plugin marketplace add google/skills
claude plugin install <plugin>@google-plugins
Codex (plugins)After adding the marketplace, install plugins from the /plugins browser.
codex plugin marketplace add google/skills
Antigravity CLIPoint the command at the path of the plugin you want inside the repository.
agy plugin install https://github.com/google/skills/<plugin-path>

Commands come from the author’s README; check it for changes before you run them.

Questions

Can I call real ad accounts straight away?

Not with Test access, which only works on test accounts; production accounts need Explorer, Basic or Standard access on the Cloud project.

I want my AI assistant to query Google Ads. Is this the right skill?

No. The skill hands that case to the separate Google Ads MCP setup skill instead of writing scripts.

More guides from Google Agent Skills

Also in this pack

All 30 skills →

Summary by trendhub. The skill itself lives in google/skills/skills/ads/google-ads-api-quickstart by Google (Apache-2.0); read the full, current text there.