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 <adwordsapiadvi...@google.com>
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 <daniel.gult...@brand-seven.de> 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 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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to