Hi!While performing the following code INVALID_PROXIMITY_ADDRESS occurs episodically
Address address = new Address();address.setCityName("Johnson City");address.setCountryCode("Tennessee");address.setProvinceName("US");Proximity proximity = new Proximity();proximity.setAddress(address);proximity.setRadiusDistanceUnits(ProximityDistanceUnits.MILES);proximity.setRadiusInUnits(30.0);CampaignCriterion campaignCriterion = new CampaignCriterion();campaignCriterion.setCampaignId(campaignId);campaignCriterion.setCriterion(proximity);CampaignCriterionOperation operation = new CampaignCriterionOperation();operation.setOperand(campaignCriterion);operation.setOperator(Operator.ADD);campaignCriterionService.mutate(new CampaignCriterionOperation[] { operation });
After repeating this code with no changes proximity is added with no issue. The proper address data may vary.What is going on? It does seem as bug on your side.
Unfortunately I can provide only Ids of problematic campaigns:'276257069' ('US Georgia Warner Robins')'264091949' ('US California Hayward')'243337469' ('US Tennessee Alcoa')
пятница, 6 марта 2015 г., 1:35:47 UTC+3 пользователь Josh Radcliff (AdWords API Team) написал:
Yep, you are right but it's just typo in my example. In reality all is set in a right way.
понедельник, 9 марта 2015 г., 18:28:52 UTC+3 пользователь Josh Radcliff (AdWords API Team) написал:
Hi,I've already changed my logic to what you mentioned (set geoPoint together with Address object).but can you please clarify how I can get request IDs in Java code?
вторник, 10 марта 2015 г., 16:10:33 UTC+3 пользователь Josh Radcliff (AdWords API Team) написал:
The problem still persist. I reworked the code to get GeoPoint byGeoLocationService
GeoLocationSelector selector = new GeoLocationSelector();
selector.setAddresses(addresses.toArray(new Address[0]));
GeoLocation[] geoLocationResult = geoLocationService.get(selector);And I see in logs that for the following addresses:
- Augusta,Georgia,United States
- 30909,Georgia,United States
The code returns InvalidGeoLocation with geoPoint = null.After repeating code a bit later with the same data all is working in a right wayAs I can not provide you request Ids because I'm submitting data by Java API which information can help you to investigate the issue?вторник, 10 марта 2015 г., 18:14:33 UTC+3 пользователь Josh Radcliff (AdWords API Team) написал:
Hi,The same issue again with:
- 98801,Washington,United States
- San Leandro,California,United States
- Post Falls,Idaho,United States
- Knoxville,Tennessee,United States
As always - if you resubmit these addresses again later, it will work with no errors.Let's start investigating it...
среда, 18 марта 2015 г., 0:40:37 UTC+3 пользователь Josh Radcliff (AdWords API Team) написал:
Hi,This happen again for'Santa Rosa,California,United States'
'Blue Ridge,Georgia,United States'
'Villa Rica,Georgia,United States'
'Alcoa,Tennessee,United States'
среда, 25 марта 2015 г., 19:01:52 UTC+3 пользователь Josh Radcliff (AdWords API Team) написал:
Hi Josh,Have you been able to repeat and resolve the issue? The problem is still continued on my side. Can send a bunch of addresses if necessary.
четверг, 9 апреля 2015 г., 23:30:15 UTC+3 пользователь Josh Radcliff (AdWords API Team) написал:
Hi Josh,Last time this kind of error starts occuring too often and the period when it continue happening too long (2+ hours) so even my code that re-submit failed request are unsuccessful. My business owneres is becoming nervous as it's necessary to handle failed campaigns manually.Please suggest something to sort out this issue.
вторник, 5 мая 2015 г., 16:32:24 UTC+3 пользователь Josh Radcliff (AdWords API Team) написал: