Getting error AuthorizationError.TWO_STEP_VERIFICATION_NOT_ENROLLED

756 views
Skip to first unread message

Om Prakash

unread,
Jan 2, 2020, 11:49:47 AM1/2/20
to AdWords API and Google Ads API Forum
How do i fix this in my code?  Is it something Google has to change for my account? Or i have to disable 2FA from my accout?
Screen Shot 2020-01-02 at 7.32.02 AM.png

Google Ads API Forum Advisor Prod

unread,
Jan 2, 2020, 4:19:34 PM1/2/20
to omop...@gmail.com, adwor...@googlegroups.com

Hello Om,

Thank you for writing to us. The error TWO_STEP_VERIFICATION_NOT_ENROLLED occurs if the client account is enrolled in 2-Step Verification and the accounts accessing it are not. Please refer to this blog post for more details and information. Could you please confirm if you are added as a user on the Google Ads account? Or is your API call authorized by a user who has access to the target account? If it is the second case, that user who authorized the API call and generated the authorization code should also have their Google accounts enrolled in 2-Step Verification. If you are directly a user on the account, and have already enrolled for 2-Step verification, could you confirm the Google Ads account and the email address against which you are making the API call?

P.S. Please use Reply privately to author option while sharing the details.

Regards,
Nikisha Patel, Google Ads API Team



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