There was an error when migrating to the Google Ads API. What should I do?

1,646 views
Skip to first unread message

山崎義博

unread,
Feb 22, 2022, 1:10:00 AM2/22/22
to Google Ads API and AdWords API Forum
hi,
My company already uses the AdWords API.
I want to migrate to Google Ads API.

Referenced URL
https://developers.google.com/google-ads/api/docs/start
Get a Client Library: python

I get the following error when running the program.

Request made: ClientCustomerId: XXXXXXXXXX, Host: googleads.googleapis.com, Method: /google.ads.googleads.v9.services.GoogleAdsService/SearchStream, RequestId: None, IsFault: True, FaultMessage: Google Ads API has not been used in project XXXXXXXXXX before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/googleads.googleapis.com/overview?project=XXXXXXXXXX then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.

I checked the link and allowed it.

Also, I made the following settings
https://console.developers.google.com/apis/library


but,

Request made: ClientCustomerId: XXXXXXXXXX, Host: googleads.googleapis.com, Method: /google.ads.googleads.v9.services.GoogleAdsService/SearchStream, RequestId: None, IsFault: True, FaultMessage: Google Ads API has not been used in project XXXXXXXXXX before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/googleads.googleapis.com/overview?project=XXXXXXXXXX then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.


What other settings are missing?


The following is the same as the AdWords API
・developer_token
・OAuth2 configuration

I would be grateful if you could help me.

Google Ads API Forum Advisor

unread,
Feb 22, 2022, 4:43:24 AM2/22/22
to yama...@ibf.co.jp, adwor...@googlegroups.com

Hello,

Thank you for reaching out to us.

When migrating from the AdWords API to the Google Ads API, we recommend that you use this migration guide for more details. In the Google Ads API's perspective, you will need to enable the Google Ads API in your project. In addition to that, you can check this OAuth guide when creating your credentials.

Regards,

Google Logo
Mark Kevin
Google Ads API Team
 

 

ref:_00D1U1174p._5004Q2WxqvM:ref
Reply all
Reply to author
Forward
0 new messages