Skip to main content

n8n - Using Google Ads with n8n AI Agents

How to Use Google Ads MCP within n8n

Ales Sturala avatar
Written by Ales Sturala
Updated this week

This guide walks you through using the hosted version of the Google Ads MCP by TrueClicks in n8n. With just a few simple steps, you'll be able to access Google Ads data via AI agents in n8n.


1. Generate GPT Token with GAQL.app

What is GAQL.app?

GAQL.app is a free, easy-to-use interface for querying Google Ads accounts using the Google Ads Query Language (GAQL). It’s built by TrueClicks to simplify working with Google Ads data.

Why use it?

  • Free to use

  • Built for advertisers, developers, and analysts

  • Great for creating reports or writing automation scripts

  • Friendly interface for GAQL

Steps to Create GPT Token

  1. Log in with your Google account

  2. At the top-right corner, click on COPY GPT TOKEN

This token enables secure, read-only access to your account via AI-based tools using MCP.


2. Configure MCP in n8n Workflow

  1. In n8n, create a new workflow

  2. Add a node called AI Agent to your workflow

  3. Double-click on the MCP sub-node in the AI Agent

  4. Use the following configuration:

    • SSE Endpoint:

      https://mcp.gaql.app/sse

    • Authentication:
      Select Bearer authentication.

    • Credentials:

      • Click "Create New"

      • In the Bearer Token field, paste your GPT Token from GAQL.app

That’s it - your AI Agent is now connected to the hosted MCP server!


3. Setting up the AI Agent Prompt

To get the most accurate and useful Google Ads responses, configure your AI Agent's behavior with a well-crafted System Message.

Recommended System Message

You are a senior Google Ads PPC specialist. For date range use explicit dates 'BETWEEN' in GAQL query. Today is {{ $today }}.

This primes the AI Agent to return precise Google Ads API queries tailored to your account and timeframe.


💬 Questions or Technical Issues?

If you have any questions, or encounter any technical issues, please contact:

Did this answer your question?