We are trying to setup several feeds into the AdWords CRM UserListService 
"https://adwords.google.com/api/adwords/rm/v201509/AdwordsUserListService";

We seem to be getting past the OAuth2 hurdles fine in that we are not 
getting an "Authentication" error, we are getting an "Authorization" error. 
The ClientID and ClientSecret were generated under an account which has 
permissions to the MCC and has administrative privileges. When logging in 
to AdWords, we can access the "ClientCustomerID" just fine. From the API 
though, the "ADD" operation fails with the error" 
{"[AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'<null>']"}.

We are using the managed code from GitHub for C# and the code is very 
straight forward:

                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,
                    //optOutLink = "http://endpoint1.example.com/optout";
                };
                UserListOperation ulistop = new UserListOperation()
                {
                    operand = userList,
                    @operator = Operator.ADD 
                };
                var ulo = new UserListOperation[] { ulistop };
                // Add user list.
                UserListReturnValue result = userListService.mutate(ulo);   
<==== ERROR ABOVE

I presume there is something very straight forward and probably 
configuration related that is causing this. Any insight is much appreciated.

Thanks.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/83f33517-9f2e-4db3-af41-56dd6fc34645%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to