Hello kewbank,
This error means the network settings provided are not acceptable. Particularly, I believe you can not set targetContentContextual to any value if targetContentNetwork is false. Generally, targetContentContextual can't be modified as it defaults to true for all new campaigns and only older campaigns can have it set to false. See this article for more details: http://support.google.com/adwords/bin/answer.py?answer=2575708 For the API I suggest removing this part from the builder. -Danial, AdWords API Team. On Wednesday, August 8, 2012 10:06:33 PM UTC+4, kewbank wrote: > > We are getting a strange TargetError.TARGET_ERROR exception when > attempting to update a campaign. The campaign looks fine in adWords UI and > the account's other campaigns update fine. This has only started happening > in the last few days. Any ideas: > > Aug 08 13:33:54 SOAP request: <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 > soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" > soapenv:mustUnderstand="0" xmlns:ns1=" > https://adwords.google.com/api/adwords/cm/v201109"><ns1:authToken>*removed > * > </ns1:authToken><ns1:clientCustomerId>2851094027</ns1:clientCustomerId><ns1:developerToken> > *removed*</ns1:developerToken><ns1:userAgent>null (AwApi-Reseller > Java/8.6.1R1, Axis/1.4, > Java/1.5.0_11)</ns1:userAgent><ns1:validateOnly>false</ns1:validateOnly><ns1:partialFailure>false</ns1:partialFailure></ns1:RequestHeader></soapenv:Header><soapenv:Body><mutate > > xmlns="https://adwords.google.com/api/adwords/cm/v201109"><operations><operator>SET</operator><operand><id>58973383</id><name>Boca > > Ta-2</name><status>ACTIVE</status><endDate>20200810</endDate><budget><period>DAILY</period><amount><microAmount>139020000</microAmount></amount></budget><adServingOptimizationStatus>OPTIMIZE</adServingOptimizationStatus><networkSetting><targetGoogleSearch>true</targetGoogleSearch><targetSearchNetwork>true</targetSearchNetwork><targetContentNetwork>false</targetContentNetwork><targetContentContextual>false</targetContentContextual></networkSetting></operand></operations></mutate></soapenv:Body></soapenv:Envelope> > > Aug 08 13:33:54 SOAP response: <soap:Envelope xmlns:soap=" > http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><ResponseHeader > xmlns="https://adwords.google.com/api/adwords/cm/v201109"><requestId>0004c6c483d4d6000a964908000057ef</requestId><serviceName>CampaignService</serviceName><methodName>mutate</methodName><operations>1</operations><responseTime>69</responseTime><units>1</units></ResponseHeader></soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>[TargetError.TARGET_ERROR > > @ > operations[0].operand.networkSetting]</faultstring><detail><ApiExceptionFault > xmlns="https://adwords.google.com/api/adwords/cm/v201109"><message>[TargetError.TARGET_ERROR > > @ > operations[0].operand.networkSetting]</message><ApplicationException.Type>ApiException</ApplicationException.Type><errors > > xsi:type="TargetError" xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance > "><fieldPath>operations[0].operand.networkSetting</fieldPath><trigger/><errorString>TargetError.TARGET_ERROR</errorString><ApiError.Type>TargetError</ApiError.Type><reason>TARGET_ERROR</reason></errors></ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope> > -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords 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
