google-ads-scripts

Automate Google Ads management with JavaScript scripts and GAQL queries.

90|10|Updated Mar 25, 2026
One-click install
npx skills add https://github.com/cognyai/claude-code-marketing-skills --skill google-ads-scripts-cognyai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: google-ads-scripts
Source: https://github.com/cognyai/claude-code-marketing-skills/tree/main/skills/google-ads-scripts
Command: npx skills add https://github.com/cognyai/claude-code-marketing-skills --skill google-ads-scripts-cognyai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill tackles the manual drudgery of monitoring, optimizing, and reporting on Google Ads campaigns, enabling automation to save time and reduce errors in ad management.

Core Features & Use Cases

  • Script Patterns: Provides 10+ ready-to-use JavaScript scripts for tasks like pausing low-performers, budget pacing, and negative keyword mining.
  • GAQL Queries: Integrates SQL-like queries for performance data extraction and analysis within AdsApp.
  • Use Case: For a digital marketer juggling multiple campaigns, use this to generate a quality score tracker that logs historical data to Google Sheets for ongoing optimization.

Quick Start

Generate a budget pacing script to monitor spend against your monthly Google Ads budget.

Frequently Asked Questions about google-ads-scripts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Google Ads budget pacing and performance monitoring?

You can automate Google Ads budget pacing and performance monitoring using ready-to-use JavaScript scripts that execute within AdsApp to track spend against monthly budgets and adjust bids automatically.

What is GAQL and how does it work for Google Ads data extraction?

GAQL is a SQL-like query language used within AdsApp scripts to extract and analyze Google Ads performance data, enabling targeted reporting and anomaly detection across your campaigns.

Can I use JavaScript scripts to pause low-performing Google Ads campaigns?

Yes, you can use JavaScript scripts to pause low-performing Google Ads campaigns automatically by setting performance thresholds within AdsApp to identify and halt underperforming ad groups or keywords.

How do I log Google Ads quality score history to Google Sheets?

You can log Google Ads quality score history to Google Sheets by running a JavaScript script that extracts historical tracking data via GAQL and integrates directly with Google Sheets for reporting.

Do I need to know JavaScript to automate Google Ads tasks with scripts?

You need basic JavaScript knowledge to customize and run the provided Google Ads scripts, but the Skill includes 10+ ready-to-use patterns for tasks like negative keyword mining and bid adjustments to simplify execution.

What are the best ways to mine negative keywords in Google Ads?

The best way to mine negative keywords in Google Ads is using JavaScript scripts that query search term reports via GAQL to identify irrelevant queries and automatically add them to your negative keyword lists.