Access denied since the customer is not active

39 views
Skip to first unread message

Александр Бондарчук

unread,
May 24, 2020, 4:06:44 PM5/24/20
to AdWords API and Google Ads API Forum
Hi, brothers and sisters.
 
I'm following this instruction (https://developers.google.com/adwords/api/docs/guides/first-api-call?hl=en), but got this message
Google.Api.Ads.AdWords.Lib.AdWordsApiException (AdWordsApiException: Выдано исключение типа "Google.Api.Ads.AdWords.Lib.AdWordsApiException". Access denied since the customer is not active.. (Error: AuthorizationError.CUSTOMER_NOT_ACTIVE, FieldPath: , Trigger: <null>))
 
As source code I'm using examples from one of your repositories. At now I have OAuth2ClientId, OAuth2ClientSecret and OAuth2RefreshToken. I think, that it's enougth to try test account? Probably this data must be different for test and production accounts?
 
Also on this page (https://developers.google.com/adwords/api/docs/guides/signup) said, that i will got  developer token and I will see it at API Center section of my account still 2 days. But about 3 weeks ago and I don't see nothing. Probably I've did something wrong? Sorry for my english, please help.

Maxim Mazurov

unread,
May 24, 2020, 5:10:57 PM5/24/20
to AdWords API and Google Ads API Forum
Добрый вечер
Я тоже недавно залез в данный API и начал натыкаться на ошибки подобного рода. Что значит вероятно токен не аппрувнули. С другой стороны они пишут что этого достаточно для тест аккаунтов. Вы создали под основным аккаунтом тестовый? В yaml надо указать customer_id от данного именно тестового аккаунта (рядом с аватаром горит красный баннер). По идее, после этого все должно получиться.

Google Ads API Forum Advisor Prod

unread,
May 26, 2020, 11:48:02 AM5/26/20
to alessandro...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to us. It looks like you're trying to access a customer account that isn't currently active. Could you provide me with the customer ID that you're trying to access, as well as your request and response logs for where this error occurs so that I may further assist you?

Thank you,
Bryan, Google Ads API Team

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