Member-only story
How to Connect to the Google Ads API Using Python
The Google Ads API is a powerful tool that allows advertisers and developers to access and manage their Google Ads accounts and campaigns programatically. It enables you to automate processes, gather campaign insights, and create custom solutions tailored to your business needs. Working at Google, I get asked quite often for step by step instructions on how to connect to setup the Google Ads API.
In this blog post, I will walk you through the process of connecting to the Google Ads API so you can harness its potential and unlock new opportunities for your advertising endeavors. We will also walk through testing the API using the Google Ads API python client library.
Generate a Developer Token
1- Create a Google Ads Manager (MCC) Account
In order to generate a developer token, you would need a Google Ads Manager account. Create a Google Ads Manager account via https://ads.google.com/home/tools/manager-accounts
Google Ads Manager accounts allow you to access multiple Google Ads accounts including other manager accounts, manage their campaigns, and generate Developer Tokens. The manager account holds the developer token and does not dictate which accounts can the developer token can access. After creating the…