Hello dear Ads support.
We started to experience very strange error using CampaignService. Our code 
is stable and using CampaignService is successful for the thousands of 
accounts we serve, but recently we started to get this issue for like 10 
accounts among thousands. 

Our call xml look like:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:v20="https://adwords.google.com/api/adwords/cm/v201809";>
   <soapenv:Header>
      <v20:RequestHeader>
         %authtoken%
         <v20:clientCustomerId>{our_id_here}</v20:clientCustomerId>
         <v20:developerToken>{our_token_here}</v20:developerToken>
      </v20:RequestHeader>
   </soapenv:Header>
   <soapenv:Body>
      <v20:get>
         <v20:serviceSelector>
            <v20:fields>Name</v20:fields>
            <v20:fields>StartDate</v20:fields>
            <v20:fields>EndDate</v20:fields>
            <v20:paging>
                <v20:startIndex>0</v20:startIndex>
                <v20:numberResults>10000</v20:numberResults>
            </v20:paging>
       </v20:serviceSelector>
      </v20:get>
   </soapenv:Body>
</soapenv:Envelope>

Call url = https://adwords.google.com/api/adwords/cm/v201809/CampaignService

Error response looked like : 
"InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
com.google.ads.api.services.common.error.InternalApiError.<init>(InternalApiErro..
 
"
(sorry we haven't logged full response)

When I try to reproduce this error, I get next response:
"<soap:Envelope 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";><soap:Header><ResponseHeader
 
xmlns="https://adwords.google.com/api/adwords/cm/v201809";><requestId>00057cfccdc88e480a374d949d027f60</requestId><serviceName>CampaignService</serviceName><methodName>get</methodName><operations>1</operations><responseTime>119</responseTime></ResponseHeader></soap:Header><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>[AuthorizationError.USER_PERMISSION_DENIED
 
@ ; trigger:'&lt;null&gt;']</faultstring><detail><ApiExceptionFault 
xmlns="https://adwords.google.com/api/adwords/cm/v201809";><message>[AuthorizationError.USER_PERMISSION_DENIED
 
@ ; 
trigger:'&lt;null&gt;']</message><ApplicationException.Type>ApiException</ApplicationException.Type><errors
 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="AuthorizationError"><fieldPath></fieldPath><trigger>&lt;null&gt;</trigger><errorString>AuthorizationError.USER_PERMISSION_DENIED</errorString><ApiError.Type>AuthorizationError</ApiError."

This error is clear to me. But when we get 
InternalApiError.UNEXPECTED_INTERNAL_API_ERROR - we don't know how to act. 
Any recommendations on this, shell we retry (we already make 3 retries with 
delay 30 seconds and this doesn't help). 
Any ideas will be appreciated! 
Thanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3c0b2c9e-2097-4210-ac99-1ae80eb34ec0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to