All connectors

Google Ads

Google Ads Connector for AI Agents

Give agents tools for secure, real-time access to fetch, search, write, and sync across every system, with replication, entity mapping, and auth built-in.

20,000+
community members
6,000+
daily active companies
2PB+
synced/month
900+
contributors

About this Connector

Google Ads API connector for accessing advertising account data including campaigns, ad groups, ads, and labels. Uses OAuth2 credentials and a Google Ads developer token for authentication. All data retrieval is read-only.

CRM

Sales Analytics

Customer Data

digital advertising, campaign management, marketing analytics

Version Information

Package version

0.1.0

Connector version

1.0.1

SDK commit

8c0db5b110465ea5214514c3f5a97d1f4de89978

Support Open Source

Check us out on Github and join the Airbyte community

Github

Installation & Usage

Get started with the Google Ads connector in minutes

1

Install Package

Using uv or pip

bash

Copy
uv pip install airbyte-agent-google-ads

2

Import

Initialize and use

python

Copy
from airbyte_agent_google_ads import GoogleAdsConnector
from airbyte_agent_google_ads.models import GoogleAdsAuthConfig

connector = GoogleAdsConnector(
    auth_config=GoogleAdsAuthConfig(
        client_id="<OAuth2 client ID from Google Cloud Console>",
        client_secret="<OAuth2 client secret from Google Cloud Console>",
        refresh_token="<OAuth2 refresh token>",
        developer_token="<Google Ads API developer token>"
    )
)

3

Tool

Add tools to your agent

python

Copy
@agent.tool_plain # assumes you're using Pydantic AI
@GoogleAdsConnector.tool_utils
async def google_ads_execute(entity: str, action: str, params: dict | None = None):
    return await connector.execute(entity, action, params or {})

Supported Entities & Actions

Access all your Google Ads data through a unified API

Lorem ipsum

Lorem ipsum

| Entity | Actions |\n|--------|---------|\n| Accessible Customers | [List](./REFERENCE.md#accessible-customers-list) |\n| Accounts | [List](./REFERENCE.md#accounts-list), [Search](./REFERENCE.md#accounts-search) |\n| Campaigns | [List](./REFERENCE.md#campaigns-list), [Search](./REFERENCE.md#campaigns-search) |\n| Ad Groups | [List](./REFERENCE.md#ad-groups-list), [Search](./REFERENCE.md#ad-groups-search) |\n| Ad Group Ads | [List](./REFERENCE.md#ad-group-ads-list), [Search](./REFERENCE.md#ad-group-ads-search) |\n| Campaign Labels | [List](./REFERENCE.md#campaign-labels-list), [Search](./REFERENCE.md#campaign-labels-search) |\n| Ad Group Labels | [List](./REFERENCE.md#ad-group-labels-list), [Search](./REFERENCE.md#ad-group-labels-search) |\n| Ad Group Ad Labels | [List](./REFERENCE.md#ad-group-ad-labels-list), [Search](./REFERENCE.md#ad-group-ad-labels-search) |

Example Prompts

The Google Ads connector is optimized to handle prompts like these

Lorem ipsum

List all accessible Google Ads customer accounts - Show me all campaigns and their statuses - List all ad groups across my campaigns - What ads are running in my ad groups? - Show me campaign labels - List all ad group labels - What labels are applied to my ads? - Which campaigns have the highest cost this month? - Show me all paused campaigns - Find ad groups with the most impressions - What are my top performing ads by click-through rate? - Show campaigns with budget over $100 per day

Why Airbyte for AI Agents?

Built for production AI workloads with enterprise-grade reliability

Agent-Native Design

Structured, LLM-friendly schemas optimized for AI agent consumption with natural language query support.

Secure Authentication

Built-in OAuth 2.0 handling with automatic token refresh. No hard-coded credentials.

Production Ready

Battle-tested connectors with comprehensive error handling, logging, and retry logic.

Open Source

Fully open source under the MIT license. Contribute, customize, and extend freely.

Works with your favorite frameworks

Use the Google Ads connector with any AI agent framework

đŸĻœ

LangChain

đŸĻ™

LlamaIndex

🤖

CrewAI

⚡

AutoGen

🧠

OpenAI Agents SDK

🔮

Claude Agents SDK

Frequently Asked Questions

Didn't find your answer? Please don't hesitate to reach out.

How do I authenticate with Google Ads?

The Google Ads connector supports OAuth2 authentication. You must provide a client ID, client secret, and refresh token from the Google Cloud Console, along with a Google Ads API developer token. In hosted mode, these credentials are stored securely in Airbyte Cloud and you authenticate via Airbyte credentials instead.

Can I use this connector with any AI agent framework?

The connector is compatible with any Python-based AI agent framework including LangChain, LlamaIndex, CrewAI, Pydantic AI, and custom implementations.

Does this connector support write operations?

No, the Google Ads connector does not support write operations. It is read-only. Operations such as creating campaigns, updating ad group bids, deleting ads, pausing campaigns, or changing budget settings are explicitly unsupported.

How is this different from the Airbyte data connector?

Agent connectors are specifically designed for AI agents and LLM applications. They provide natural language interfaces, optimized response formats, and seamless integration with agent frameworks, unlike traditional ETL-focused connectors.

Will there be a platform for agent connectors?

The hosted version with secure credential storage through Airbyte Cloud is already available. See the hosted usage section in the documentation for setup instructions.

20,000+
community members
6,000+
daily active companies
2PB+
synced/month
900+
contributors