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.


About this Connector
Google Ads API connector for accessing advertising account data including campaigns, ad groups, ads, and labels. This connector uses the Google Ads Query Language (GAQL) via the REST search endpoint to retrieve structured advertising data.
CRM
Sales Analytics
Customer Data
Version Information
Package version
0.1.11
Connector version
1.0.4
SDK commit
44677ecbb4b815bb4fb2a54c6e5339681bcf36a8
Support Open Source
Check us out on Github and join the Airbyte community
Installation & Usage
1
Install Package
Using uv or pip
bash
uv pip install airbyte-agent-google-ads
2
Import
Initialize and use
python
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
@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
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
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
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
🦜
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.
The Google Ads connector supports OAuth2 authentication. You must provide a client ID, client secret, and refresh token obtained from the Google Cloud Console, along with a Google Ads API developer token. Alternatively, in hosted mode, credentials are stored securely in Airbyte Cloud using Airbyte's own authentication config.
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, and creating labels and label associations. However, it does not support creating new campaigns or ads, or deleting campaigns, ads, or labels. All data retrieval operations are read-only.
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.