Permission Denied: Being requested to Enable the Google Ads API in the wrong GCP account.

51 views
Skip to first unread message

Nellle Rickchards

unread,
Dec 16, 2021, 11:46:24 AM12/16/21
to AdWords API and Google Ads API Forum
Hello, I'm running into the following error when calling campaign_budget_service.mutate_campaign_budgets

```
FaultMessage: Google Ads API has not been used in project xxxx before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/googleads.googleapis.com/overview?project=xxx then retry ```

The issue is, the project ID mentioned and in the error and URL is not correct. How do I tell the API what GCP account to use? I've already setup the correct account via gcloud commands.

Nellle Rickchards

unread,
Dec 16, 2021, 11:56:56 AM12/16/21
to AdWords API and Google Ads API Forum

PS: I'm connecting via the OAuth Desktop Application method (https://developers.google.com/google-ads/api/docs/client-libs/python/oauth-desktop).  I was connecting fine with the old Google Adwords API.

Google Ads API Forum Advisor

unread,
Dec 17, 2021, 12:19:22 AM12/17/21
to ne...@fortnine.ca, adwor...@googlegroups.com
Hi Nelle,

Can you confirm that you followed the steps in this guide? You should be able to see your project IDs by clicking on the project in the top left-hand corner of the screen. You can also try creating a new project and enabling it then using those credentials for your API call. If that doesn't work, could you please share the MCC Id and the email address used to create the new project for me to investigate further? Also, please provide the complete request and response logs with request ID as well.

Kindly send the requested details via Reply privately to author option. If this option is not available, please send it directly to googleadsapi-support@google.com instead.

Regards,
Google Logo
Teejay Wennie Pimentel
Google Ads API Team
 


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