2-Step Verification making the API return

414 views
Skip to first unread message

dl...@tangocode.com

unread,
Nov 6, 2018, 6:15:21 AM11/6/18
to AdWords API and Google Ads API Forum

Hi all,

I am trying to get the 2-Step Verification configured into one of our client's account. We use this account in order to access their MCC account data where they have enabled the 2-step verification, so know I am being asked to do so in order to properly pull the data using the Adwords API (we are currently getting an AuthorizationError.TWO_STEP_VERIFICATION_NOT_ENROLLED error code as response).

The problem I am facing is: on https://www.google.com/landing/2step/ after hitting 'GET STARTED' I get redirected to the login and after that to the Sign-in & security section of our account. There, there's no reference to the two-step method. As this video shows, I should be able to see a line under the Password & sign in method containing the 2-Step verification status. 

This is what I currently see:

image.png


I've already asked the G suite administrator and they said the've already turned on the 2-step verification. And that is also consistent with what I am asked for in order to sign in:

Screen Shot 2018-11-05 at 1.44.51 PM.png


Thanks in advance for any help.

dl...@tangocode.com

unread,
Nov 6, 2018, 9:49:45 AM11/6/18
to AdWords API and Google Ads API Forum
Was finally able to solve this. It was indeed, a conflict between two different domains of G Suite.

For the ones facing this issue: the problem was basically that the client domain's of the parent account was configured to ask all the accounts of their domain to set up the 2-step verification login method. Along with this, it seems that option also makes all the child accounts accessing any data from a parent account in that domain to be asked so (no matter the domain of the child account). But the conflict was that our child account (used to access the parent account) was from a different domain that didn't have turned on the 2-step verification method. So from our child account perspective, every time we accessed our account we were asked to enroll in the 2-step verification method, but the option wasn't available for us.

Solution: turn on the 2-step verification JUST for our child account from the administrator account of our domain.
Reply all
Reply to author
Forward
0 new messages