Google Ads Automation with Python - How to Connect to API Tutorial (#1)

preview_player
Показать описание
Here is step-by-step instruction on how to start working with Google Ads with Python and API.
Try to watch in 1.5x speed if it's a bit too long :)

00:00 Intro & Talks
01:24 Yaml Credentials
02:57 Python & PyCharm
03:59 Google Ads Library
04:57 Getting Developer Token
11:14 Getting Client ID & Secret Id
13:00 Getting refresh token
15:40 Running your first script

Useful Links:

📌 Want to discuss your project?

Рекомендации по теме
Комментарии
Автор

Hey guys! I hope you find this video useful. It took a bit more time than usual to fill it all. So if it's a bit slow to you - increase speed of the video up to 1.25x. And share you ideas and questions with me! PS: Don`t forget you can writ me on my email or LinkedIn.

marketingwatchhouse
Автор

Hey man I hope you realize this is the most thorough information regarding Google ads API access. I’ve filled out my entire yaml file before finding this and had no idea what it was used for.

I’m not done yet but this video definitely will help me along the way.

peterkrysik
Автор

Hey there! There was an update from Universal Analytics to G4 Google Analytics, is there a resource that you could point to that would help with connecting to their API?

roguephilosopher
Автор

you are the best bro, thank you so much for share yours knowledge with others

hrikrdo
Автор

i run the program but it show:Your YAML file is incorrectly configured for OAuth2. You need to define credentials for either the OAuth2 installed application flow (('client_id', 'client_secret', 'refresh_token')) or service account flow (('json_key_file_path', 'impersonated_email')).

bloggingplaza
Автор

It is a great help, thank you for this tutorial!

Ati
Автор

your source code on your github contains a config.json file. I don't recall that being mentioned in the video but it is necessary for __init__.py to work. Where did that file come from and what should be specified in it?

joshaverbeck
Автор

Hey, great video. btw, your token can be seen at 10:54.

tomasechavarria
Автор

Thanks for making this! I'm guessing the next stage is defining keywords and the bidding strategy/optimization with python?

minimax
Автор

I agree. I’ve been busy with this for about a month now. Very frustrating.
I have a few questions. Like you I also have about 20 web pages open trying to find info on the same thing.
I need my script to run without any user interaction. So I was looking at the service account. But I am confused as it seems that I could use the app OAuth. If I use the app OAuth. Do you need to approve the connection every time the script runs, or do you only need to do this once, and then just use the refresh token that is generated?
Then do I need an approved token for it to work, or can I used the token with the test account as indicated by the documentation? Currently when I use the service account and try to impersonate another user. It returns NOT_ADS_USER. Not sure if this is because I’m using the token in test status.

Thanks for the video. You got my sub😀

BrianMaynardLetsDoThisThing
Автор

Hi guys,
I have problem with path, what can I do?
" from src import gads_client, config

ModuleNotFoundError: No module named 'src'
"

nguyenzirenepersonal
Автор

Hi !! It’s possible execute this python code in AWS Lambda ?

Greetings from Chile!

pepex
Автор

uploading google ads library is not working with me? Even when I'm trying to go on File --> sittings --> plugins I cant find google ads library.

thanks a lot

hishamghanayem
Автор

Is it possible to retrieve keyword search volume (not range) by using ads api?

mcoban
Автор

This is great thanks. Wish you had something similar for Bing Ads API?

cuttingroomfloors
Автор

how to create a test mcc account and test client. Please help the documentation is very bad

learnapplybuild
Автор

Hey Roman, any chance of a refresh of these with the new docs?
Love the step by step, but the files have changed (again), so following along doesn't work... I'm so close - just can't get the refresh token part to work :(

websavvy
Автор

Thanks for the video! Do you have any recommendations on how to use Python for lead generation? That aren’t as complicated as the Google ads API

LatinoWebStudio
Автор

Thanks a lot for this informative video. Appreciate the efforts

Had a doubt. The official documentation mentions about the test Account as
"Test accounts won't affect your live ads or charge your account, hence, they're a useful way to experiment with the API. Test accounts provide extra benefits during active development."
Yet, I am unable to find any API center under Tools & settings" for Test A/c, It's only available for a normal MCC accunt.

Aslo, creating client Id under Test Account disappears & is nowhere to be found. I wanted to test the API, Biq Query data transfer etc. What are your thought on API+Python v/s BigQuery Data Transfer?

Excuse the lengthy comment, appreciate if you read so far.

mohammedazeem
Автор

Awesome content, can you do the same for Bing Ads? I actually find really difficult to use this API

Emma-ebzb