Connect Google Ads to your Wiro AI agent
Campaigns, budgets, audiences, assets and performance in Google Ads.
We paid for a lot of clicks last month that never turned into bookings. Find those search terms and block the worst ones.
In the Sudsbury Grooming account, 41 search terms spent $386 last month without a conversion. With your go-ahead on the list, I added the five costliest to the Mobile Grooming campaign as phrase match negatives:
- free dog grooming, $61
- dog grooming school, $48
- dog groomer salary, $37
- grooming table for sale, $29
- dog grooming kit, $24
The other 36 cost under $10 each, so I left them alone for now.
Overview
What Google Ads does for your agent
Runs on an OAuth app you own in Google Cloud, and the agent works only in the Google Ads accounts you tick, client accounts under a manager included. It reports on cost, conversions, search terms and keywords, pulls Keyword Planner ideas, creates and changes budgets, campaigns, ad groups, ads and keywords, and uploads Customer Match lists and offline conversions. A new Cloud project starts with Test access, limited to test accounts, so apply for Explorer access or higher to use real ones.
Use cases
What your Wiro agent can do with Google Ads
A Monday spend review that flags campaigns over budget
Every Monday at the start of the day, a Scheduled Task pulls last week's cost, conversions and cost per conversion for each campaign, lines them up against the week before and flags the campaigns that spent more than the budget you gave them. The summary arrives in Chat, so nobody has to export a report by hand.
Wasted search terms turned into negative keywords you approve
Ask in Chat which search terms cost money last month without bringing a single conversion. The agent reads the search terms report, groups the waste by theme and proposes negative keywords. Once you approve the list, it adds them to the campaigns or ad groups you pick.
Keyword research for a new landing page
Give the agent a landing page or a few seed keywords and the country you sell in. It gets Keyword Planner ideas with average monthly searches, competition and top-of-page bid ranges, sorts them into ad groups by theme and drafts responsive search ads for each group.
A Search campaign built from a short brief, paused for review
Describe the offer, the daily budget and the locations. The agent creates the budget, campaign, ad groups, keywords and responsive search ads in one change with the campaign paused, and can have Google validate that change before applying it. When you are happy with it, ask the agent to turn the campaign on.
Offline sales sent back to Google Ads every night
Each night, a Scheduled Task takes the day's closed deals from a connected CRM or a sheet the agent can read and uploads them as offline conversions, matched by click ID or by the lead's hashed email or phone, with value and currency. A deal sent twice updates the first upload instead of counting again.
Customer Match lists kept in step with your customers
Once a week, the agent adds new customers from your store or CRM to a Customer Match list and removes people who unsubscribed. Emails and phone numbers are normalized and hashed with SHA-256 before they leave the agent. Google needs up to 48 hours to match them, and the agent then reports the upload status and match rate range.
How it works
How Google Ads works with Wiro
- 01
Connect Google Ads
Deploy an agent, open its Connectors tab, choose Google Ads and sign in with your Google Ads account.
- 02
Choose what each action may do
Set each Google Ads action to Allow, Ask or Block, in Chat and in Scheduled Tasks. By default, read-only actions run, and the rest ask first in Chat.
- 03
Ask in Chat or schedule it
Ask your agent for Google Ads work in Chat, or put it on a Scheduled Task that runs on its own.
- Where it runsInside your agent. Its requests go straight from the agent to Google Ads.
- Where its data goes
googleads.googleapis.comdatamanager.googleapis.com - How it signs inSign in to Google Ads with your own app.
- AccountsAfter connecting, pick the Google Ads accounts the agent may work with. It cannot reach any other.
What it can do
Actions your Wiro agent can take in Google Ads
By default, read-only actions run, and the rest ask first in Chat and run in Scheduled Tasks. Each agent can set any action to Allow, Ask or Block.
Read-only 6 actions
Looks things up in Google Ads and changes nothing.
| Action | What it does | Chat | Scheduled Tasks |
|---|---|---|---|
| List Google Ads accounts | Lists the Google Ads accounts the connected Google account can open: those it has direct access to, and the client accounts (two levels deep) of each manager account among them. | Allow | Allow |
| Search Google Ads with GAQL | Runs a Google Ads Query Language query on one account. | Allow | Allow |
| Get Google Ads keyword ideas | Keyword Planner ideas for one account from seed keywords, a page URL, both, or a whole site: each idea with its average monthly searches, competition and index, and the low and high top-of-page bids in micros. | Allow | Allow |
| Get the status of a Data Manager upload | How Google processed a request. | Allow | Allow |
| Hash emails and phones for Google Ads | Normalizes emails and E.164 phone numbers the way Google requires and hashes them with SHA-256 (hex). | Allow | Allow |
| Read other Google Ads data | Reads what the actions above do not cover, straight from the Google Ads API. | Allow | Allow |
Create and send 2 actions
Creates or sends something new in Google Ads, such as a post, a message or an email.
| Action | What it does | Chat | Scheduled Tasks |
|---|---|---|---|
| Upload a Google Ads image asset | Downloads a JPEG, PNG or GIF from a public https URL (up to 5,120 KB) and creates an image asset in one account. | Ask | Allow |
| Add Customer Match members (Data Manager API) | Adds people to a Customer Match list of one account by email or phone through Google's Data Manager API, which takes Customer Match data from every Google Cloud project: normalizes and hashes them with SHA-256 here. | Ask | Allow |
Change and delete 5 actions
Changes or deletes what is already in Google Ads.
| Action | What it does | Chat | Scheduled Tasks |
|---|---|---|---|
| Change Google Ads resources | Creates, updates or removes resources of one account in one atomic request. | Ask | Allow |
| Add or remove Google Ads Customer Match members | Adds people to, or removes them from, a Customer Match user list by email or phone through the Google Ads API: normalizes and hashes them with SHA-256 here, then creates an offline user data job, adds them and runs it. | Ask | Allow |
| Remove Customer Match members (Data Manager API) | Removes people from a Customer Match list of one account by email or phone through Google's Data Manager API, open to every Google Cloud project. | Ask | Allow |
| Upload offline conversions (Data Manager API) | Sends offline conversions to a conversion action of one account through Google's Data Manager API, which takes them from every Google Cloud project: click conversions by gclid, gbraid or wbraid. | Ask | Allow |
| Make other Google Ads changes | Sends any other change straight to the Google Ads API. | Ask | Allow |
How to connect
Connect Google Ads to Wiro
Open the agent's Connectors tab, choose Google Ads and sign in with your account. The consent screen shows what the agent can reach.
What the Connect dialog asks for
| Field | About |
|---|---|
| OAuth Client IDRequired |
|
| OAuth Client SecretRequired |
|
| Manager Account IDOptional | Usually not needed: left empty, the connection finds the manager account each Google Ads account is reached through. To send one manager account (MCC) with every request instead, copy its 10-digit ID from the top of Google Ads while you are in that manager account, for example |
Troubleshooting
Troubleshooting Google Ads
What to check when Google Ads stops working for your agent.
- Your own app's sign-in fails Check your app's settings in Google Ads: the redirect URL shown in the Connect dialog must be added there, and the client secret you pasted must be the app's current one. Then sign in again.
- Access revoked in Google Ads If the access is removed in Google Ads, or the sign-in can no longer renew, the connection reads Reconnect needed. Open the agent's Connectors tab, choose Google Ads and Reconnect.
- Limits set by Google Ads Google Ads limits how much an account can do, such as how many requests it takes in a minute. An action over a limit fails until the limit resets: wait and ask again, or check your Google Ads plan.
For developers
Connect Google Ads from your own product
Every call is a POST to the Wiro API with your project's API key. On a sign-in, your customers see your own app's name.
- 01
Read the connector
Detail answers without a session: what the connector needs and the tools it gives an agent.
POST /AgentConnector/Detail { "slug": "google-ads" }Response { "result": true, "errors": [], "agentconnectors": [ { "slug": "google-ads", "title": "Google Ads", "category": "ads", "authtype": "provider-oauth", "credentialfields": [ { "name": "clientid", "label": "OAuth Client ID", "required": true, "secret": false, "format": "text" }, { "name": "clientsecret", "label": "OAuth Client Secret", "required": true, "secret": true, "format": "password" }, { "name": "managercustomerid", "label": "Manager Account ID", "required": false, "secret": false, "format": "text" } ], "accountpickers": [ { "key": "customers", "label": "Google Ads accounts", "multiple": true } ], "tools": [ { "name": "list_customers", "readonly": true }, { "name": "search", "readonly": true } ] } ] } - 02
Start the sign-in
Connect answers with the vendor's sign-in page. Open it in the browser of the person who owns the account.
POST /UserAgent/ConnectorConnect { "useragentguid": "YOUR_AGENT_GUID", "slug": "google-ads", "mode": "oauth", "values": { "clientid": "YOUR_CLIENTID", "clientsecret": "YOUR_SECRET", "managercustomerid": "YOUR_MANAGERCUSTOMERID" }, "redirecturl": "https://your-app.example.com/connectors/return" }Response { "result": true, "errors": [], "status": "pending", "authorizeUrl": "https://vendor.example.com/oauth/authorize?client_id=...&state=..." } - 03
Come back to your page
After the consent screen the browser returns to your redirect URL with the outcome in its query. Read the status next; the query is only a reason to look.
Your redirect URL https://your-app.example.com/connectors/return?connector_connected=true https://your-app.example.com/connectors/return?connector_error=authorization_denied - 04
Read the status
connected, pending (a sign-in not finished), reauth (sign in again) or error. Values and tokens never come back.
POST /UserAgent/ConnectorList { "useragentguid": "YOUR_AGENT_GUID" }Response { "result": true, "errors": [], "useragentconnectors": [ { "slug": "google-ads", "title": "Google Ads", "authtype": "provider-oauth", "status": "connected", "accounts": {}, "savedvariables": [ "clientid", "clientsecret", "managercustomerid" ], "lasterror": null } ] } - 05
List the accounts
After connecting, list what the agent may use. It cannot reach anything else.
POST /UserAgent/ConnectorAccounts { "useragentguid": "YOUR_AGENT_GUID", "slug": "google-ads" }Response { "result": true, "errors": [], "pickers": [ { "key": "customers", "label": "Google Ads accounts", "multiple": true, "candidates": [ { "id": "1234567890", "name": "Example account" } ], "selected": [] } ] } - 06
Save the accounts
Every id is checked against a fresh list, then the agent uses them, with no restart for most changes.
POST /UserAgent/ConnectorSetAccounts { "useragentguid": "YOUR_AGENT_GUID", "slug": "google-ads", "accounts": { "customers": [ "1234567890" ] } }Response { "result": true, "errors": [], "restart": "scheduled" } - 07
Disconnect
Revokes a sign-in where the vendor allows it, deletes what the connection holds and removes the connector from the running agent.
POST /UserAgent/ConnectorDisconnect { "useragentguid": "YOUR_AGENT_GUID", "slug": "google-ads" }Response { "result": true, "errors": [], "removed": true, "revoked": true, "restart": "scheduled" }
Questions
Google Ads and Wiro FAQ
What can a Google Ads AI agent do for my account?
It reports on what Google Ads tracks, such as cost, conversions, search terms and keywords, by campaign, ad group, day or device. It gets Keyword Planner ideas, and it creates or changes budgets, campaigns, ad groups, ads, keywords, assets, audience lists, conversion actions and bidding strategies. It also uploads image assets, keeps Customer Match lists current, sends offline conversions and applies or dismisses Google's recommendations. Pair it with a Scheduled Task to automate Google Ads work that repeats, such as a weekly report.
How do I connect Google Ads to an AI agent?
Connect Google Ads on your agent's Connectors tab, or request it in Chat and the agent sets it up. Google Ads connects through an OAuth app you own in Google Cloud: paste the OAuth Client ID and Client Secret from your Google Cloud app, sign in as the Google user who runs your ads, then tick the Google Ads accounts the agent may use. The Manager Account ID field is optional; left empty, the connection finds the manager account each Google Ads account is reached through.
What has to be ready in Google Cloud before I connect Google Ads?
A Google Cloud project with the Google Ads API enabled. A new project gets Test access, which only reaches test accounts, so apply for Explorer access on the project's Google Ads API overview page (Google reviews it automatically and usually grants it), or for Basic or Standard. Turn on the Data Manager API as well if you want Customer Match uploads or offline conversions. Then choose External on the consent screen, add the adwords and datamanager scopes, and register an OAuth client for a Web application with the Connect dialog's redirect URI as an authorized redirect URI. You do not need a developer token or a manager account.
Why did my Google Ads connection stop working after seven days?
Your Google Cloud app is probably still set to Testing. In that state only the test users you list can sign in, and Google ends their sign-in after 7 days. In Google Auth Platform, change the publishing status to In production and sign in once more with Sign In Again; from then on the sign-in renews itself.
Will the agent change my campaigns or budgets without asking?
In Chat, no. Reports and keyword ideas run straight away, while every action that creates, changes or removes something waits for your approval by default. Scheduled Tasks are different: there these actions go ahead by default, so a nightly conversion upload can finish while you are away, and each of them can be moved to Ask or Block. The Chat setting and the Scheduled Tasks setting of each action are independent. Each change goes to Google once and is never retried automatically.
Can I keep the agent to some of my Google Ads accounts?
Yes. Once you are signed in, the connector lists the accounts your Google account opens directly, plus the client accounts under each manager account, two levels deep. The agent can use only the ones you tick, and none until you do. Choose Accounts on the connector changes the list at any time.
Where are my Google Ads credentials kept, and what does it cost?
Your sign-in tokens are stored encrypted and stay out of the AI model's sight, and the OAuth Client ID and Secret serve only the sign-in. Connecting Google Ads adds nothing to the price of any agent plan. Google charges nothing for Google Ads API calls, your ad spend is billed by Google Ads as before, and the request limits of your project's access level apply.
Do I have to host a Google Ads MCP server?
No. Google Ads works as part of your agent: the agent gets its Google Ads actions directly and calls Google from where it runs. There is nothing to install, host or update on your side.
Access
Revoke Google Ads access
Remove the app's access in your Google Ads account's connected apps settings, then disconnect it here.
Related connectors
More ads connectors for your Wiro agent
Put Google Ads to work with Wiro
Deploy an agent and connect Google Ads from its Connectors tab. Every agent plan includes it: Starter $5, Pro $30 and Max $100 a month.