Are there any updates on this, by any chance?
On Thursday, August 9, 2012 4:04:42 PM UTC-7, Joshua Chan wrote:
Hi Eric,
Do you know why using the provinceCode in a request for a South African
address returns an InvalidGeoLocation?
Using the address of the Google Johannesburg office,
Hi Eric,
Do you know why using the provinceCode in a request for a South African
address returns an InvalidGeoLocation?
Using the address of the Google Johannesburg office, here's a request that
works:
'streetAddress2': None,
'countryCode': 'ZA',
'cityName': 'Bryanston, Johannesburg',
Hi Alexander,
I'm able to geocode that address without any problems:
selector
addresses
streetAddress235 Regent Street/streetAddress
cityNameLondon/cityName
provinceNameEngland/provinceName
provinceCodeENG/provinceCode
postalCodeW1B 2EL/postalCode
Hi Eric
Can you explain to me why this address is invalid geolocation or any address
in UK? :
'streetAddress' :17 Rectory Terrace ,
'streetAddress2' : '' ,
'cityName' : Cambridge,
Hi Alex,
Some trial and error indicates that the service is rejecting it with the
postalCode specified, but working correctly without a postal code.
Unfortunately I don't have any information as to why this is the case. Is
this address validating correctly in the UI?
Best,
- Eric
--
Thanks Eric,
Unfortunately the api requires the postalCode...
This address or any other UK or South African address is accepted in UI and
can be downloaded with the same post code.
You can try Apple's store address in London taken from the official site :
235 Regent Street
London, W1B 2EL
1) It's pointless to even populate provinceCode. It doesn't come down with
the locations anyway (it's always null) and as far as I can tell, is
ignored.
2) Right, but what I really wanted was the list countries that don't work as
expected. From what I can tell these are the United Kingdom,
Hi Luke,
There is certainly more we can do to document the behavior of this service,
and thank you for bringing up these points. In regards to your questions:
1) As you've found, it's better to remove the country-code prefix when
populating the provinceCode. Although US-NJ works, it's safer
Hi Luke,
Can you post a specific address that you are struggling with? Perhaps that
will help illustrate the issue more clearly.
Best,
- Eric Koleda, AdWords API Team
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
First, it's not really a specific address. It's a general question about
what is supposed to be in provinceName and what the rules are around
provinces in general.
If you send a US address with US-NJ as the province code and leave
provinceName blank, you do not get an error. However if you
I'm bumping this old thread because I'm running into the same issue.
As the OP points out, locations provinceCodes are not the same as for
GeoTargeting . For the US this is easy to solve (remove country code), but
I need to know the exact list of supported countries and what those province
The states are just the normal abbreviations for states: NY, CA, NJ.
This value is part of an Address object:
address.setStreetAddress( address1 ); //1 Main St
address.setCityName( city ); //Beverly Hills
address.setPostalCode( zip ); //90210
address.setProvinceCode( country + - + state );
Hi,
I am working on application to support Location Extension. Questions I have
is to get all drop down values of state/province. Apparently, these value
are different from Geographical
Targetinghttp://code.google.com/apis/adwords/docs/appendix/geotargeting.html
Do you know where I can get
13 matches
Mail list logo