hi, i am trying to change TargetingSettings (setTargetAll) for existing campaigns using CampaignServiceInterface.
The code is strait forward: 1) fetch campaigns 2) adjust settings 3) upload campaigns. Tried many times with the same "Internal API Error". Could you please take a look on it? The soap request and response attached as a text file best regards, Evgeny -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/586e713d-d4cc-480e-9c27-6f2719d30e1e%40googlegroups.com.
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Header> <ns1:RequestHeader xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201809" soapenv:mustUnderstand="0"> <ns1:clientCustomerId>1389157031</ns1:clientCustomerId> <ns1:developerToken>REDACTED</ns1:developerToken> <ns1:userAgent>realAPItestMCC (AwApi-Java, AdWords-Axis/4.1.0, Common-Java/4.1.0, Axis/1.4, Java/1.8.0_232, maven)</ns1:userAgent> <ns1:validateOnly>false</ns1:validateOnly> <ns1:partialFailure>true</ns1:partialFailure> </ns1:RequestHeader> </soapenv:Header> <soapenv:Body> <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201809"> <operations> <operand> <id>8947436324</id> <name>audiencies upload test</name> <status>PAUSED</status> <budget/> <settings xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201809" xsi:type="ns2:GeoTargetTypeSetting"> <ns2:Setting.Type>GeoTargetTypeSetting</ns2:Setting.Type> <ns2:positiveGeoTargetType>DONT_CARE</ns2:positiveGeoTargetType> <ns2:negativeGeoTargetType>DONT_CARE</ns2:negativeGeoTargetType> </settings> <settings xmlns:ns3="https://adwords.google.com/api/adwords/cm/v201809" xsi:type="ns3:TargetingSetting"> <ns3:details> <ns3:criterionTypeGroup>USER_INTEREST_AND_LIST</ns3:criterionTypeGroup> <ns3:targetAll>true</ns3:targetAll> </ns3:details> </settings> </operand> </operations> </mutate> </soapenv:Body> </soapenv:Envelope> <?xml version="1.0" encoding="UTF-8" standalone="no"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201809"> <requestId>00059c7b77709e650a37034a26061add</requestId> <serviceName>CampaignService</serviceName> <methodName>mutate</methodName> <operations>1</operations> <responseTime>149</responseTime> </ResponseHeader> </soap:Header> <soap:Body> <soap:Fault> <faultcode>soap:Server</faultcode> <faultstring>[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.<init>(InternalApiErro]</faultstring> <detail> <ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201809"> <message>[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.<init>(InternalApiErro]</message> <ApplicationException.Type>ApiException</ApplicationException.Type> <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="InternalApiError"> <fieldPath/> <trigger/> <errorString>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR</errorString> <ApiError.Type>InternalApiError</ApiError.Type> <reason>UNEXPECTED_INTERNAL_API_ERROR</reason> </errors> </ApiExceptionFault> </detail> </soap:Fault> </soap:Body> </soap:Envelope>