I've been able to set location targeting with Proximity objects on 
Campaigns using the AdWords API but now I receive error: 
CriterionError.INVALID_PROXIMITY_ADDRESS 
@ operations[0].operand.criterion.address. Below are two soap requests that 
return the error.

POST /api/adwords/cm/v201802/CampaignCriterionService 
VsDebuggerCausalityData: 
uIDPozZgBJ7il0NGldp05Pld12EAAAAAcrWcR4J8sk+Jzlx0EYeZRK1v4tzDrSNPp4pZNNDA8t8ACQAA
 
Authorization: REDACTED Accept-Encoding: gzip, deflate TimeStamp: Wed, 09 
May 2018 11:52:12 GMT <?xml version="1.0" encoding="utf-16"?> <s:Envelope 
xmlns:s="http://schemas.xmlsoap.org/soap/envelope/";> <s:Header> 
<RequestHeader xmlns="https://adwords.google.com/api/adwords/cm/v201802";> 
<clientCustomerId>Removed for security</clientCustomerId> 
<developerToken>REDACTED</developerToken> <userAgent>RentCafe Site Manager 
(AwApi-DotNet/23.3.0, Common-Dotnet/9.1.0, .NET CLR/4.0.30319.42000, , 
gzip)</userAgent> </RequestHeader> </s:Header> <s:Body 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";> <mutate 
xmlns="https://adwords.google.com/api/adwords/cm/v201802";> <operations> 
<operator>ADD</operator> <operand> <campaignId>1396746409</campaignId> 
<criterion xsi:type="Location"> <id>1026650</id> </criterion> </operand> 
</operations> <operations> <operator>ADD</operator> <operand> 
<campaignId>1396746409</campaignId> <criterion xsi:type="Proximity"> 
<radiusDistanceUnits>MILES</radiusDistanceUnits> 
<radiusInUnits>15</radiusInUnits> <address> <cityName>New Boston</cityName> 
<provinceName>TX</provinceName> <postalCode>75570</postalCode> 
<countryCode>US</countryCode> </address> </criterion> </operand> 
</operations> <operations> <operator>ADD</operator> <operand> 
<campaignId>1396746409</campaignId> <criterion xsi:type="Language"> 
<id>1000</id> </criterion> </operand> </operations> </mutate> </s:Body> 
</s:Envelope> 

---------------------------------------------------
POST /api/adwords/cm/v201802/CampaignCriterionService Authorization: 
REDACTED Accept-Encoding: gzip, deflate TimeStamp: Wed, 09 May 2018 
12:05:35 GMT <?xml version="1.0" encoding="utf-16"?> <s:Envelope 
xmlns:s="http://schemas.xmlsoap.org/soap/envelope/";> <s:Header> 
<RequestHeader xmlns="https://adwords.google.com/api/adwords/cm/v201802";> 
<clientCustomerId>Removed for security</clientCustomerId> 
<developerToken>REDACTED</developerToken> <userAgent>RentCafe Site Manager 
(AwApi-DotNet/23.3.0, Common-Dotnet/9.1.0, .NET CLR/4.0.30319.42000, , 
gzip)</userAgent> </RequestHeader> </s:Header> <s:Body 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";> <mutate 
xmlns="https://adwords.google.com/api/adwords/cm/v201802";> <operations> 
<operator>ADD</operator> <operand> <campaignId>1396753615</campaignId> 
<criterion xsi:type="Location"> <id>1026481</id> </criterion> </operand> 
</operations> <operations> <operator>ADD</operator> <operand> 
<campaignId>1396753615</campaignId> <criterion xsi:type="Proximity"> 
<radiusDistanceUnits>MILES</radiusDistanceUnits> 
<radiusInUnits>15</radiusInUnits> <address> <cityName>Houston</cityName> 
<provinceName>TX</provinceName> <postalCode>77019</postalCode> 
<countryCode>US</countryCode> </address> </criterion> </operand> 
</operations> <operations> <operator>ADD</operator> <operand> 
<campaignId>1396753615</campaignId> <criterion xsi:type="Language"> 
<id>1000</id> </criterion> </operand> </operations> </mutate> </s:Body> 
</s:Envelope>


KDJ

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5acef0dc-416d-4fde-93dd-4fbec8f0a440%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... 'Dhanya Sundararaju (AdWords API Team)' via AdWords API Forum
    • ... Dave Page
      • ... 'Dhanya Sundararaju (AdWords API Team)' via AdWords API Forum
  • ... Ronak Shah
    • ... 'Dhanya Sundararaju (AdWords API Team)' via AdWords API Forum
      • ... 'Dhanya Sundararaju (AdWords API Team)' via AdWords API Forum
        • ... Dave Page
        • ... Ronak Shah
        • ... Dmitry Karpuk
          • ... 'Dhanya Sundararaju (AdWords API Team)' via AdWords API and Google Ads API Forum
  • ... rentcafedev1
    • ... 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to