Hello!

 

We are facing the following error = SERVICE_ACCESS_DENIED when trying to 
call the following API

We have already verified:

* Project creation

* OAuth creation - creation of clientid and clientsecret codes

* Enable Google Ads API

* Allow Access CliendId to Google Ads Account - creation of authorization 
code 

* Create Valid Access Token

 

If we test with invalid access token the error differs

 

 

API = https://adwords.google.com/api/adwords/rm/v201809/AdwordsUserListService 
[adwords.google.com] 
<https://urldefense.com/v3/__https:/adwords.google.com/api/adwords/rm/v201809/AdwordsUserListService__;!!ChWRnQ646yhd!BpBjXOPyhoPMMXWY3xMgQu5x1U_X12BB2F-Qq1l9kkEZcGPYt01Z4JH4fDBGnVX6nwQ$>

 

REQUEST = <soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/ 
[schemas.xmlsoap.org] 
<https://urldefense.com/v3/__http:/schemas.xmlsoap.org/soap/envelope/__;!!ChWRnQ646yhd!BpBjXOPyhoPMMXWY3xMgQu5x1U_X12BB2F-Qq1l9kkEZcGPYt01Z4JH4fDBGuS2HWp8$>"
 
xmlns:v20="https://adwords.google.com/api/adwords/rm/v201809 
[adwords.google.com] 
<https://urldefense.com/v3/__https:/adwords.google.com/api/adwords/rm/v201809__;!!ChWRnQ646yhd!BpBjXOPyhoPMMXWY3xMgQu5x1U_X12BB2F-Qq1l9kkEZcGPYt01Z4JH4fDBGhfLaKxc$>"
 
xmlns:v201="https://adwords.google.com/api/adwords/cm/v201809 
[adwords.google.com] 
<https://urldefense.com/v3/__https:/adwords.google.com/api/adwords/cm/v201809__;!!ChWRnQ646yhd!BpBjXOPyhoPMMXWY3xMgQu5x1U_X12BB2F-Qq1l9kkEZcGPYt01Z4JH4fDBGNqKEZp4$>
">

   <soapenv:Header>

      <v20:RequestHeader>

         <v201:clientCustomerId>*******</v201:clientCustomerId>

         <v201:developerToken>*******</v201:developerToken>

         <v201:partialFailure>true</v201:partialFailure>

      </v20:RequestHeader>

   </soapenv:Header>

   <soapenv:Body>

      <v20:mutateMembers>

         <!--Zero or more repetitions:-->

         <v20:operations>

            <!--Optional:-->

            <v201:operator>ADD</v201:operator>

            <v20:operand>

               <!--Optional:-->

               <v20:userListId>**********</v20:userListId>

               <v20:membersList>

                  <v20:hashedemail>****@*****.***</v20:hashedEmail>

               </v20:membersList>

            </v20:operand>

         </v20:operations>

      </v20:mutateMembers>

   </soapenv:Body>

</soapenv:Envelope>

 

RESPONSE = <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/ 
[schemas.xmlsoap.org] 
<https://urldefense.com/v3/__http:/schemas.xmlsoap.org/soap/envelope/__;!!ChWRnQ646yhd!BpBjXOPyhoPMMXWY3xMgQu5x1U_X12BB2F-Qq1l9kkEZcGPYt01Z4JH4fDBGuS2HWp8$>
">

   <soap:Header>

      <ns2:ResponseHeader 
xmlns:ns2="https://adwords.google.com/api/adwords/rm/v201809 
[adwords.google.com] 
<https://urldefense.com/v3/__https:/adwords.google.com/api/adwords/rm/v201809__;!!ChWRnQ646yhd!BpBjXOPyhoPMMXWY3xMgQu5x1U_X12BB2F-Qq1l9kkEZcGPYt01Z4JH4fDBGhfLaKxc$>"
 
xmlns="https://adwords.google.com/api/adwords/cm/v201809 
[adwords.google.com] 
<https://urldefense.com/v3/__https:/adwords.google.com/api/adwords/cm/v201809__;!!ChWRnQ646yhd!BpBjXOPyhoPMMXWY3xMgQu5x1U_X12BB2F-Qq1l9kkEZcGPYt01Z4JH4fDBGNqKEZp4$>
">

         <requestId>0005a29f660d549d0a81df01b30cac68</requestId>

         <serviceName>AdwordsUserListService</serviceName>

         <methodName>mutateMembers</methodName>

         <operations>1</operations>

         <responseTime>155</responseTime>

      </ns2:ResponseHeader>

   </soap:Header>

   <soap:Body>

      <soap:Fault>

         <faultcode>soap:Client</faultcode>

         <faultstring>[AuthorizationError.SERVICE_ACCESS_DENIED @ 
]</faultstring>

         <detail>

            <ns2:ApiExceptionFault 
xmlns="https://adwords.google.com/api/adwords/cm/v201809 
[adwords.google.com] 
<https://urldefense.com/v3/__https:/adwords.google.com/api/adwords/cm/v201809__;!!ChWRnQ646yhd!BpBjXOPyhoPMMXWY3xMgQu5x1U_X12BB2F-Qq1l9kkEZcGPYt01Z4JH4fDBGNqKEZp4$>"
 
xmlns:ns2="https://adwords.google.com/api/adwords/rm/v201809 
[adwords.google.com] 
<https://urldefense.com/v3/__https:/adwords.google.com/api/adwords/rm/v201809__;!!ChWRnQ646yhd!BpBjXOPyhoPMMXWY3xMgQu5x1U_X12BB2F-Qq1l9kkEZcGPYt01Z4JH4fDBGhfLaKxc$>
">

               <message>[AuthorizationError.SERVICE_ACCESS_DENIED @ 
]</message>

               
<ApplicationException.Type>ApiException</ApplicationException.Type>

               <errors xsi:type="AuthorizationError" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 
[w3.org] 
<https://urldefense.com/v3/__http:/www.w3.org/2001/XMLSchema-instance__;!!ChWRnQ646yhd!BpBjXOPyhoPMMXWY3xMgQu5x1U_X12BB2F-Qq1l9kkEZcGPYt01Z4JH4fDBGQC1aYYY$>
">

                  <fieldPath/>

                  <trigger/>

                  
<errorString>AuthorizationError.SERVICE_ACCESS_DENIED</errorString>

                  <ApiError.Type>AuthorizationError</ApiError.Type>

                  <reason>SERVICE_ACCESS_DENIED</reason>

               </errors>

            </ns2:ApiExceptionFault>

         </detail>

      </soap:Fault>

   </soap:Body>

</soap:Envelope>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d39b2f7a-92f3-4c7f-81bf-2d6a3eeb8753%40googlegroups.com.

Reply via email to