Hey guys, Here is how most users would create a Proximity criteria in versions v201506 and earlier:
1. Submit a GeoLocationService.get with the GeoLocationSelector.address set to the address around which they wanted to target. 2. Verify that the response from #1 was not an InvalidGeoLocation object. 3. Use the returned GeoLocation.geoPoint when creating the Proximity object, as described here: https://developers.google.com/adwords/api/docs/guides/location-targeting#proximity-targeting . You can skip steps 1 and 2 and just use the Address from step 1 as the Proximity.address in step 3 since the GeoLocationService is now sunset in future versions. So instead of using Proximity.geoPoint, use Proximity.address. You will get a failure if the address is invalid when using the CampaignCriterionService.mutate. Cheers, Anthony AdWords API Team -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/f50ae7f2-5126-4315-be15-bc1f48038237%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
