<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201809"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Header>
<ns1:RequestHeader>
<ns1:clientCustomerId>XXX-XXX-XXXX</ns1:clientCustomerId>
<ns1:developerToken>REDACTED</ns1:developerToken>
<ns1:userAgent>unknown (AwApi-PHP, googleads-php-lib/40.0.0, PHP/7.1.25)</ns1:userAgent>
<ns1:validateOnly>false</ns1:validateOnly>
<ns1:partialFailure>false</ns1:partialFailure>
</ns1:RequestHeader>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:mutate>
<ns1:operations>
<ns1:operator>SET</ns1:operator>
<ns1:operand>
<ns1:campaignId>1842222689</ns1:campaignId>
<ns1:criterion xsi:type="ns1:Proximity">
<ns1:id>723965095885</ns1:id>
<ns1:radiusDistanceUnits>MILES</ns1:radiusDistanceUnits>
<ns1:radiusInUnits>30</ns1:radiusInUnits>
<ns1:address>
<ns1:streetAddress>XXXXXXXXXXXXXXX</ns1:streetAddress>
<ns1:cityName>XXXXXXX</ns1:cityName>
<ns1:postalCode>XXXXX</ns1:postalCode>
<ns1:countryCode>XX</ns1:countryCode>
</ns1:address>
</ns1:criterion>
</ns1:operand>
</ns1:operations>
</ns1:mutate>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201809">
<requestId>000587d2358c79210a37c446e906ecff</requestId>
<serviceName>CampaignCriterionService</serviceName>
<methodName>mutate</methodName>
<operations>1</operations>
<responseTime>89</responseTime>
</ResponseHeader>
</soap:Header>
<soap:Body>
<mutateResponse xmlns="https://adwords.google.com/api/adwords/cm/v201809">
<rval>
<ListReturnValue.Type>CampaignCriterionReturnValue</ListReturnValue.Type>
<value>
<campaignId>1842222689</campaignId>
<isNegative>false</isNegative>
<criterion xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="Proximity">
<id>723965095885</id>
<type>PROXIMITY</type>
<Criterion.Type>Proximity</Criterion.Type>
<geoPoint>
<latitudeInMicroDegrees>45527058</latitudeInMicroDegrees>
<longitudeInMicroDegrees>-122654006</longitudeInMicroDegrees>
</geoPoint>
<radiusDistanceUnits>MILES</radiusDistanceUnits>
<radiusInUnits>25.0</radiusInUnits>
<address>
<streetAddress>XXXXXXXXXXXXXXX</streetAddress>
<cityName>XXXX</cityName>
<postalCode>XXXXX</postalCode>
<countryCode>XX</countryCode>
</address>
</criterion>
<campaignCriterionStatus>ACTIVE</campaignCriterionStatus>
<CampaignCriterion.Type>CampaignCriterion</CampaignCriterion.Type>
</value>
</rval>
</mutateResponse>
</soap:Body>
</soap:Envelope>
Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
Hi,I am trying to update the radius of my campaign location. (from 25 to 30)The call goes through but doesn't actually do anything.(I know that this can be done using the web interface - though not the address.
I've also tried sending just the radius without the address, but same result - no change.)
I'm setting RadiusInUnits.See the request and response below.Notice that the request says 30, but the response says 25.Thanks,Moshe----
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201809"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Header>
<ns1:RequestHeader>
<ns1:clientCustomerId>779-948-7703</ns1:clientCustomerId>
<ns1:developerToken>REDACTED</ns1:developerToken>
<ns1:userAgent>unknown (AwApi-PHP, googleads-php-lib/40.0.0, PHP/7.1.25)</ns1:userAgent>
<ns1:validateOnly>false</ns1:validateOnly>
<ns1:partialFailure>false</ns1:partialFailure>
</ns1:RequestHeader>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:mutate>
<ns1:operations>
<ns1:operator>SET</ns1:operator>
<ns1:operand>
<ns1:campaignId>1842222689</ns1:campaignId>
<ns1:criterion xsi:type="ns1:Proximity">
<ns1:id>723965095885</ns1:id>
<ns1:radiusDistanceUnits>MILES</ns1:radiusDistanceUnits>
<ns1:radiusInUnits>30</ns1:radiusInUnits>
<ns1:address>
<ns1:streetAddress>633 NE 12th Ave, Portland, OR 97232</ns1:streetAddress>
<ns1:cityName>Portland</ns1:cityName>
<ns1:postalCode>97232</ns1:postalCode>
<ns1:countryCode>US</ns1:countryCode>
</ns1:address>
</ns1:criterion>
</ns1:operand>
</ns1:operations>
</ns1:mutate>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
POST /api/adwords/cm/v201809/CampaignCriterionService?wsdl HTTP/1.1
Host: adwords.google.com
Connection: close
User-Agent: PHP-SOAP/7.1.25
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 1212
Authorization: REDACTED
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201809"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Header>
<ns1:RequestHeader>
<ns1:clientCustomerId>779-948-7703</ns1:clientCustomerId>
<ns1:developerToken>REDACTED</ns1:developerToken>
<ns1:userAgent>unknown (AwApi-PHP, googleads-php-lib/40.0.0, PHP/7.1.25)</ns1:userAgent>
<ns1:validateOnly>false</ns1:validateOnly>
<ns1:partialFailure>false</ns1:partialFailure>
</ns1:RequestHeader>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:mutate>
<ns1:operations>
<ns1:operator>SET</ns1:operator>
<ns1:operand>
<ns1:campaignId>1848079589</ns1:campaignId>
<ns1:criterion xsi:type="ns1:Proximity">
<ns1:id>725320367931</ns1:id>
<ns1:radiusDistanceUnits>MILES</ns1:radiusDistanceUnits>
<ns1:radiusInUnits>25.1</ns1:radiusInUnits>
<ns1:address>
<ns1:streetAddress>633 NE 12th Ave, Portland, OR 97232</ns1:streetAddress>
<ns1:cityName>Portland</ns1:cityName>
<ns1:postalCode>97232</ns1:postalCode>
<ns1:countryCode>US</ns1:countryCode>
</ns1:address>
</ns1:criterion>
</ns1:operand>
</ns1:operations>
</ns1:mutate>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=UTF-8
Date: Thu, 02 May 2019 07:11:32 GMT
Expires: Thu, 02 May 2019 07:11:32 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Alt-Svc: quic=":443"; ma=2592000; v="46,44,43,39"
Accept-Ranges: none
Vary: Accept-Encoding
Connection: close
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201809">
<requestId>000587e257fbe7150a37e1064c0e42a9</requestId>
<serviceName>CampaignCriterionService</serviceName>
<methodName>mutate</methodName>
<operations>1</operations>
<responseTime>178</responseTime>
</ResponseHeader>
</soap:Header>
<soap:Body>
<mutateResponse xmlns="https://adwords.google.com/api/adwords/cm/v201809">
<rval>
<ListReturnValue.Type>CampaignCriterionReturnValue</ListReturnValue.Type>
<value>
<campaignId>1848079589</campaignId>
<isNegative>false</isNegative>
<criterion xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="Proximity">
<id>725320367931</id>
<type>PROXIMITY</type>
<Criterion.Type>Proximity</Criterion.Type>
<geoPoint>
<latitudeInMicroDegrees>45527058</latitudeInMicroDegrees>
<longitudeInMicroDegrees>-122654006</longitudeInMicroDegrees>
</geoPoint>
<radiusDistanceUnits>MILES</radiusDistanceUnits>
<radiusInUnits>30.0</radiusInUnits>
<address>
<streetAddress>633 NE 12th Ave, Portland, OR 97232</streetAddress>
<cityName>Portland</cityName>
<postalCode>97232</postalCode>
<countryCode>US</countryCode>
</address>
</criterion>
<campaignCriterionStatus>ACTIVE</campaignCriterionStatus>
<CampaignCriterion.Type>CampaignCriterion</CampaignCriterion.Type>
</value>
</rval>
</mutateResponse>
</soap:Body>
</soap:Envelope>