Sandbox AuthorizationError.USER_PERMISSION_DENIED after migrating Google Apps domain

84 views
Skip to first unread message

John S. Jacob

unread,
Jul 22, 2011, 6:43:47 PM7/22/11
to AdWords API Forum
After migration of our Google Apps domain, our AdWords API login does
not work in the Sandbox. The login works in production. Is this a
known issue?

AdWords API Advisor

unread,
Jul 25, 2011, 7:31:31 AM7/25/11
to adwor...@googlegroups.com
Hi John,

One thing you could check at your end if your email got migrated properly during the Google Apps migration, or whether it got renamed to youremail%dom...@gtempaccount.com during migration. If it got renamed to gtempaccount.com format, then try resolving that issue in your Google Apps domain, and your code should work just fine. Otherwise use the gtempaccount.com email for generating AuthTokens, and the code should work fine.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

John S. Jacob

unread,
Jul 27, 2011, 12:18:16 AM7/27/11
to AdWords API Forum
Thank you, that appeared to be the problem.

While I used user%dom...@gtempaccount.com as the sandbox username, I
had to use client_1+user@domain as the client account. This seemed
weird until I realized the authentication system changed and not the
data in the sandbox.

I decided to create a new sandbox account which just made everything
easier.


On Jul 25, 4:31 am, AdWords API Advisor <adwordsapiadvi...@google.com>
wrote:
Reply all
Reply to author
Forward
0 new messages