Agent Connector

Connect your agents to Google Ads

Production-ready access to your Google Ads data with managed auth, parametric control, and the reliability your agents need to actually work.

Installation & Usage

Get start with the Google Ads connector in minutes.

[01]

Install Package

Using uv or pip

BASH

Copy
uv pip install airbyte-agent-google-ads

[02]

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>"
    )
)

[03]

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), [Update](./REFERENCE.md#campaigns-update), [Search](./REFERENCE.md#campaigns-search) |\n| Ad Groups | [List](./REFERENCE.md#ad-groups-list), [Update](./REFERENCE.md#ad-groups-update), [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), [Create](./REFERENCE.md#campaign-labels-create), [Search](./REFERENCE.md#campaign-labels-search) |\n| Ad Group Labels | [List](./REFERENCE.md#ad-group-labels-list), [Create](./REFERENCE.md#ad-group-labels-create), [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) |\n| Labels | [Create](./REFERENCE.md#labels-create) |

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? - Pause campaign 'Summer Sale 2025' - Enable the ad group 'Brand Keywords' - Create a label called 'High Priority' - Apply the 'Q4 Campaigns' label to my search campaign - Update the name of campaign 123456 to 'Winter Promo' - 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

Secure Authentication

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

Agent-Native Design
Heading

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

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 Salesforce connector with any AI agent framework.

LangChain

CrewAI

LlamaIndex

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, requiring a client ID, client secret, and refresh token from the Google Cloud Console, along with a Google Ads developer token. In hosted mode, credentials are stored securely in Airbyte Cloud and you authenticate using your Airbyte client ID and client secret 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?

The Google Ads connector supports some write operations, including updating campaigns and ad groups (e.g., pause, enable, rename), and creating labels and label associations. However, it does not support creating new campaigns or ads, or deleting campaigns, ads, or labels.

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.

Ready to connect your AI agents to Google Ads?

Get started in minutes with our open-source connector.