We are trying to create some CRM based lists in AdWords via the API and are 
just getting started with it. We have run into an issue at the gates which 
is making it difficult to proceed. There appear to be no OAuth2 issues as 
we are not getting any "Authentication" errors, instead we are getting an 
"Authorization" error.

Details:
- The "ClientID" and associated "ClientSecret" are from a project under an 
account which has administrative permissions on the master.
- The "RefreshToken" was generated authorizing the same account as above to 
the AdWords scope.
- The "DeveloperToken" was generated on a different account under a 
different master which has basic API access.
- Using the C# GitHub managed code base for Google.Api.Ads.AdWords.v201509

ERROR: [AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'<null>']

Any insight on what could possibly be the issue here would be greatly 
appreciated.

This is the relevant portion of the code:

*                // Get Auth First*
*                AdWordsUser awUser = new AdWordsUser();*

*                // Get the UserListService.*
*                AdwordsUserListService userListService =*
*                    
(AdwordsUserListService)awUser.GetService(AdWordsService.v201509.AdwordsUserListService);*

*                #region AddUserList and Populate Test                *
*                // Create remarketing user list.*
*                CrmBasedUserList userList = new CrmBasedUserList()*
*                {*
*                    name = "Test List 1",*
*                    description = "A list of customers that originated 
from email addresses",*
*                    membershipLifeSpan = 365L,*
*                };*
*                UserListOperation ulistop = new UserListOperation()*
*                {*
*                    operand = userList,*
*                    @operator = Operator.ADD *
*                };*
*                var ulo = new UserListOperation[] { ulistop };*
*                // Add user list.*
*                UserListReturnValue result = userListService.mutate(ulo); 
<====ERROR OCCURS HERE*




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ecc9128a-6560-4531-838b-a61efa9fdff1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to