performance-marketing

google-api-ads-ruby: Seamlessly Manage Google Ads via Ruby

Use this Ruby client to integrate Google Ad Manager SOAP API into your marketing stack, enabling founders to automate campaign data retrieval and reporting.

From the repo · “Ad Manager SOAP API Client Libraries for Ruby”

intermediate⏱ 1-2 hours💵 Free
304 stars+1★ this week220 forksRubyGuide quality 8/10 · reviewed Oct 22Updated 9/1/2026100% free · open source
What it is

Access Ad Manager data and settings with an Ad Manager SOAP API Client.

Real use case example

"A founder wants to automate the process of updating ad targeting rules in Google Ad Manager based on changes to their email list in Google Sheets. First, they set up a schedule in Google Sheets to run a script that pulls email changes. Then, they use this skill to connect to Ad Manager and update the targeting rules. As a result, they save time and reduce the risk of human error."

Best insideCursorCodex CLI
When to use it
  • •You need to automate ad campaigns across multiple platforms
  • •You want to integrate Ad Manager with your existing Ruby application
  • •You require fine-grained control over ad targeting and bidding
Ready-to-paste prompt
Run the example code in `examples/v202202/get_ad_units.rb` to retrieve a list of ad units: `ruby examples/v202202/get_ad_units.rb YOUR_AD_UNIT_ID`
Heads up: You must have a Google Ad Manager account and generate API credentials (OAuth client ID and secret) to use this library, and ensure you have the correct Ruby version (2.6 or higher) and gem dependencies installed
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-api-ads-ruby && curl -fsSL https://workflowstacks.com/api/skills/google-api-ads-ruby/claude-skill -o ~/.claude/skills/google-api-ads-ruby/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-api-ads-ruby: Seamlessly Manage Google Ads via Ruby works
Codeflow
Free to inspect

Google-api-ads-ruby: Seamlessly Manage Google Ads via Ruby is a very large Ruby project (~164k lines across 880 code files, plus 19 test files). Setup is light: installs like a normal app. Reading the code is optional. Last commit 2 months ago, no license file, has a test suite.

Size
Very large codebase
~164k lines · 880 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
Ruby
No API keys detected
Ruby 100%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    ad_manager_api/lib/ad_manager_api.rb
    Inside ad_manager_api/lib/ — the main logic begins here
What's in each folder
ad_manager_api/lib/Core code — the actual logic354 files
ad_manager_api/examples/Examples you can copy489 files
ads_common/Folder33 files
ads_savon/Folder26 files
ad_manager_api/test/Tests — proof it works9 files
READMEHas testsDocumentedNo CINo licenseUpdated 2 mo ago
Quick Actions
Details
Creator
googleads
Language
Ruby
Category
performance-marketing
Published
1/23/2012

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-api-ads-ruby.svg)](https://workflowstacks.com/skills/google-api-ads-ruby?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.