Google Ads

Google Ads API

Also called AdWords API (its predecessor)

Google's programming interface that lets software read reports from, and make changes to, Google Ads accounts without anyone using the web interface.

Quick facts: Google Ads API

Category
Google Ads
Also called
AdWords API (its predecessor)
Level
Advanced
Affects
Reporting, bulk management, CRM integration, offline conversion uploads
Where to see it
API access settings in a Google Ads manager account, Google Cloud console, official client libraries, Looker Studio connectors
In this article4
  1. How the Google Ads API works
  2. Why it matters
  3. Common mistakes
  4. How to act on it

The Google Ads API is the programming interface that lets software talk to Google Ads directly, pulling reports and creating or changing campaigns, ads, keywords and bids without a person clicking through the website. It replaced the older AdWords API, which Google switched off in 2022.

How the Google Ads API works

An API is a set of agreed requests one system can send to another. With the Google Ads API, a program asks for data or sends a change, and Google answers in a structured format. Reports are requested in Google Ads Query Language, which looks much like SQL: you name the fields and the date range you want.

Access has three parts:

  • A developer token Applied for through the API settings of a manager account. Google reviews the application and grants an access level, each with its own daily limits.
  • OAuth credentials from a Google Cloud project, which let the program act on behalf of a user who has access to the ad account.
  • The customer ID of each account the program works on.

Google publishes official client libraries for common languages such as Python, Java, PHP, .NET and Ruby. It releases new API versions several times a year and retires old ones on a published timetable, so integrations need regular upkeep.

Why it matters

Most UK small businesses never touch the API directly, but they rely on it more than they realise. Reporting dashboards, bid management platforms, call tracking providers and CRM systems that send closed sales back to Google Ads all use it behind the scenes.

That last use is the one I see make the biggest difference. A business that sells through phone calls or a sales team can upload which leads became paying customers, for example through enhanced conversions for leads. Automated bidding then learns from real revenue rather than form fills. Some CRMs do this through their own API connection; others need a custom one.

Agencies and larger advertisers use the API to manage hundreds of accounts, run checks overnight, and build reports that the Google Ads interface cannot produce.

Common mistakes

  • Building a custom integration when a Google Ads script or an existing connector would do the same job with far less upkeep.
  • Granting account access to a third-party tool without knowing who runs it or what it changes.
  • Storing credentials in a spreadsheet or a public code repository.
  • Letting an integration break silently when Google retires the API version it was built on.
  • Uploading customer data, such as hashed emails for offline conversions, without telling customers in your privacy notice. That data is personal data under UK GDPR even when hashed.

How to act on it

Write down what you want automated and how often. For a weekly report or a daily budget alert, scripts or a reporting connector will almost certainly be enough. For a two-way link with your CRM, or managing many accounts, the API is the right tool, and it is worth paying a developer who has built one before.

Before connecting any tool, check which Google user it acts as and what permissions that user holds. Review connected apps once a year and remove anything no longer in use.

If you are unsure whether your account needs an integration at all, I look at that as part of ongoing Google Ads management, starting with whether your conversion data is good enough to be worth automating.

Do and do not

Do

  • Check whether a ready-made connector or a script already does the job
  • Keep developer tokens and OAuth credentials out of shared documents and code repositories
  • Plan for Google retiring API versions on a regular schedule

Do not

  • Give an unknown third-party app full access to your account without checking who runs it
  • Build a custom integration for a task you do once a month
  • Ignore deprecation emails from Google about the API version you use

Questions people ask about this

Is the Google Ads API free to use?

Google does not charge for API access itself; you pay only for the advertising. The costs are in building and maintaining the integration, plus any hosting. Access is subject to approval of your developer token and to daily usage limits that depend on your access level.

What is the difference between the Google Ads API and Google Ads scripts?

Scripts are short pieces of JavaScript that run inside your Google Ads account on Google's servers, with no developer token needed. The API is used by external software you host yourself. Scripts suit one account or a manager account's tasks; the API suits larger systems and integrations with other business software.

Do I need a developer to use the Google Ads API?

For anything custom, yes. You need to apply for a developer token, set up OAuth credentials and write code against the client libraries. If you only want your data in a dashboard or a spreadsheet, a ready-made reporting connector or a Google Ads script that writes to a spreadsheet is usually a better choice than building something.

Related terms

Found this useful?

Share it, or ask an AI to summarise it

Back to the glossary

Knowing the term is the easy part

Applying it to your own site and budget is the work. Book a call and I will tell you what actually applies to you.