Hi Christian,

My apologies, it does appear that the GeoLocationService requires a
street address to be specified.  I'll talk to the core engineering
team about loosening that restriction, but in the mean time you may
need to find another way to geocode your zip codes.

Best,
- Eric

On Mar 30, 7:59 am, Christian Krahn <[email protected]> wrote:
> Hi Eric,
>
> this method does not work, it seems that the GeoLocationService needs
> at least the streetAddress to get a geolocation.
>
> <SOAP-ENV:Body>
>     <ns1:get>
>       <ns1:selector xmlns:ns1="https://adwords.google.com/api/adwords/
> cm/v200909" xsi:type="ns1:GeoLocationSelector">
>         <ns1:addresses xmlns:ns1="https://adwords.google.com/api/
> adwords/cm/v200909" xsi:type="ns1:Address">
>           <ns1:cityName>Bottrop</ns1:cityName>
>           <ns1:postalCode>46242</ns1:postalCode>
>           <ns1:countryCode>DE</ns1:countryCode>
>         </ns1:addresses>
>       </ns1:selector>
>     </ns1:get>
>   </SOAP-ENV:Body>
>
> leads to
>
> <soap:Body>
>     <getResponse xmlns="https://adwords.google.com/api/adwords/cm/
> v200909">
>       <rval xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:type="InvalidGeoLocation">
>         <GeoLocation.Type>InvalidGeoLocation</GeoLocation.Type>
>       </rval>
>     </getResponse>
>   </soap:Body>
>
> I want to try to get the GeoPoint of a cityName (minus the zip code).
> Doesn't work here.
>
> Any ideas?
>
> Thanks and best regards,
> - Christian
>
> On 24 Mrz., 22:37, AdWords API Advisor <[email protected]>
> wrote:
>
>
>
> > Hi Daniel,
>
> > It isn't possible to target zip codes directly in the AdWords,
> > although the web interface hides that fact.  What you need to do is
> > get the latitude and longitude for a zip code using the
> > GeoLocationService:
>
> >  http://code.google.com/apis/adwords/v2009/docs/reference/GeoLocationS...
>
> > and then use that to create a ProximityTarget:
>
> >  http://code.google.com/apis/adwords/v2009/docs/reference/CampaignTarg...
>
> > Best,
> > - Eric Koleda, AdWords API Team
>
> > On Mar 23, 11:06 am, Daniel G <[email protected]> wrote:
>
> > > Hi,
>
> > > I want to useGermanPostcodes as GeoTargets for my Campaigns. This is
> > > possible with the AdWords Frontend but not with the API - at least I
> > > don't see a direct way of doing this.
> > > Did anybody else ran into this problem and maybe found a solution?
>
> > > Thanks a lot
>
> > > Daniel

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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 [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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to