Hi, I think I am setting correct values for the campaign criteria type, Proximity/ But I am getting Invalid_Proximity_Address. Please find below the SOAP request and response.
<?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>9571572507</ns1:clientCustomerId> <ns1:developerToken>REDACTED</ns1:developerToken> <ns1:userAgent>unknown (AwApi-Java, AdWords-Axis/4.6.0, Common-Java/4.6.0, Axis/1.4, Java/1.8.0_202, maven)</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/v201809"> <operations> <operator>ADD</operator> <operand> <campaignId>9747132435</campaignId> <criterion xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201809" xsi:type="ns2:Proximity"> <ns2:radiusDistanceUnits>KILOMETERS</ns2:radiusDistanceUnits> <ns2:radiusInUnits>10.0</ns2:radiusInUnits> <ns2:address> <ns2:postalCode>2018</ns2:postalCode> <ns2:countryCode>AU</ns2:countryCode> </ns2:address> </criterion> </operand> </operations> </mutate> </soapenv:Body> </soapenv:Envelope> 94571 [main] INFO c.g.a.a.a.l.c.A.soapXmlLogger [] - SOAP response: <?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>0005a1edb1c0ad410a62e7142c0fb038</requestId> <serviceName>CampaignCriterionService</serviceName> <methodName>mutate</methodName> <operations>1</operations> <responseTime>279</responseTime> </ResponseHeader> </soap:Header> <soap:Body> <soap:Fault> <faultcode>soap:Client</faultcode> <faultstring>[CriterionError.INVALID_PROXIMITY_ADDRESS @ operations[0].operand.criterion.address]</faultstring> <detail> <ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201809"> <message>[CriterionError.INVALID_PROXIMITY_ADDRESS @ operations[0].operand.criterion.address]</message> <ApplicationException.Type>ApiException</ApplicationException.Type> <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CriterionError"> <fieldPath>operations[0].operand.criterion.address</fieldPath> <fieldPathElements> <field>operations</field> <index>0</index> </fieldPathElements> <fieldPathElements> <field>operand</field> </fieldPathElements> <fieldPathElements> <field>criterion</field> </fieldPathElements> <fieldPathElements> <field>address</field> </fieldPathElements> <trigger/> <errorString>CriterionError.INVALID_PROXIMITY_ADDRESS</errorString> <ApiError.Type>CriterionError</ApiError.Type> <reason>INVALID_PROXIMITY_ADDRESS</reason> </errors> </ApiExceptionFault> </detail> </soap:Fault> </soap:Body> </soap:Envelope> Suresh -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/f6de50ca-3e70-4f9c-8269-a65d4613f301%40googlegroups.com.
