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', 'streetAddress': 'Cnr Main & Sloane Street', 'provinceCode': 'GT', 'postalCode': '2012' But adding any of these makes it not work: 'provinceCode': 'ZA-GT' 'provinceCode': 'GT' Johannesburg is in the province of Gauteng and the province code of 'ZA-GT' is retrieved from https://developers.google.com/adwords/api/docs/appendix/provincecodes#South%20Africa Also noticed that in the UI, there's no dropdown for the province for South Africa. Is provinceCode needed then? Thanks, Josh On Friday, September 30, 2011 1:57:01 PM UTC-7, Eric Koleda wrote: > > Hi Alexander, > > I'm able to geocode that address without any problems: > > <selector> > <addresses> > <streetAddress>235 Regent Street</streetAddress> > <cityName>London</cityName> > <provinceName>England</provinceName> > <provinceCode>ENG</provinceCode> > <postalCode>W1B 2EL</postalCode> > <countryCode>GB</countryCode> > </addresses> > </selector> > > <rval> > <geoPoint> > <latitudeInMicroDegrees>51514343</latitudeInMicroDegrees> > <longitudeInMicroDegrees>-141765</longitudeInMicroDegrees> > </geoPoint> > <address> > <streetAddress>235 Regent Street</streetAddress> > <cityName>London</cityName> > <provinceCode>ENG</provinceCode> > <provinceName>England</provinceName> > <postalCode>W1B 2EL</postalCode> > <countryCode>GB</countryCode> > </address> > <encodedLocation>qrvM3...</encodedLocation> > <GeoLocation.Type>GeoLocation</GeoLocation.Type> > </rval> > > Best, > - Eric > -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en