performance-marketing

google-ads-python: Accelerate Ad Campaign Management with Python

A Python client for the Google Ads API, letting founders automate and optimize ad workflows quickly and reliably.

From the repo · “Google Ads API Client Library for Python”

intermediate⏱ 1-2 hours💵 Free (but may incur Google Ads API costs)
760 stars+4★ this week548 forksPythonGuide quality 8/10 · reviewed Oct 21Updated 10/21/2026100% free · open source
What it is

Use the Google Ads Python library to interact with Google Ads.

Real use case example

"A founder, Alex, wants to manage their Google Ads campaigns automatically. They use the Google Ads Python library to write a script that creates a new ad group and targets specific audiences based on their product's features. Within a few minutes, Alex has their Google Ads campaigns set up and running with minimal manual effort."

Best insideClaude DesktopClaude CodeCodex CLI
When to use it
  • •When you need to automate Google Ads campaign management
  • •When you want to integrate Google Ads data with your own analytics or CRM systems
  • •When you need to perform complex Google Ads optimization tasks, such as bidding or ad rotation
Ready-to-paste prompt
campaign_service.mutate([{'operator': 'ADD', 'operand': {'name': 'My Test Campaign', 'status': 'ENABLED'}}])
Heads up: You need to have a Google Ads account and enable the Google Ads API in the Google Cloud Console, and also set up OAuth2 credentials to use the google-ads-python library
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

🔑 Needs an API key

Works after you add credentials — the setup agent will ask you for them.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/google-ads-python && curl -fsSL https://workflowstacks.com/api/skills/google-ads-python/claude-skill -o ~/.claude/skills/google-ads-python/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How google-ads-python: Accelerate Ad Campaign Management with Python works
Codeflow
Free to inspect

Google-ads-python: Accelerate Ad Campaign Management with Python is a very large Python project (~1.9M lines across 7009 code files, plus 33 test files). Setup is light: installs like a normal app. Reading the code is optional. Last commit this month, Apache-2.0 license, has a test suite.

Size
Very large codebase
~1.9M lines · 7009 code files · days to read — use, don't read
Setup
One-command install
Installs like a normal app. Reading the code is optional.
Runs on
Python · Docker
No API keys detected
Python 100%
Where to start reading
  1. 1
    README.rst
    Start here — what it does and how to install it
  2. 2
    pyproject.toml
    Dependencies and the commands it exposes
  3. 3
    examples/__init__.py
    A worked example — copy this to get going
What's in each folder
examples/Examples you can copy135 files
google/Folder7325 files
tests/Tests — proof it works36 files
.github/CI / automation (GitHub Actions)4 files
READMEHas testsDocumentedNo CIDocker readyExamples includedApache-2.0 licenseUpdated this month
Quick Actions
Details
Creator
googleads
Language
Python
Category
performance-marketing
Published
8/3/2018

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/google-ads-python.svg)](https://workflowstacks.com/skills/google-ads-python?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.

Do this with a working workflow

Pages we wrote and tested that put a skill like this to work — importable n8n templates, outcome guides and Claude Desktop configs.