This is what I have done
- Created a new gmail account (call it
Prod...@gmail.com) and created Production Manager Account using this new gmail account
- Created a new gmail account (call it
Test...@gmail.com) and created a Test Manager Account with this new gmail account
- Created a set of OAuth Client Crendentials using
Prod...@gmail.com ( I had to create a new Project as well)
- Generated a developer token for ProdManager account through API Center
- Authenticated and generated refreshtoken with oauth client credentials against Test gmail account (access type was set to offline and user consent prompt was setup too)
- Configured, Client Id, Client Secret, Refresh token, Test Account Client Customer Id, Prod Manager Developer Token, Some random UserAgent
- When I try to list the Campaigns, I endup getting AuthorizationError.USER_PERMISSION_DENIED
Not sure what I am missing and why I get this error. Any help would be much appreciated