[JAVA] How to get Location Target Information.

Hi,

There is a code snippet on the blog explaining how to get the countries ids.

http://adcenterdev.spaces.live.com/blog/cns!40C96A663056EEA8!109.entry

It seems straight forward if using C#. But I really have a hard time to figure out how to retrieve those information with JAVA.

What to do with the GetLocationTargetInformationResponseGetLocationTargetInformationResult getLocationTargetInformation (GLTIRGLTIR) object returned by the getLocationTargetInformation() of the CampaignManagementSoap? An especially the get_any() method of GLTIRGLTIR which returns an org.apache.axis.message.MessageElement []?

I am pretty confused so to speak...

[653 byte] By [Ludo-R] at [2008-3-5]
# 1
Oh my god!

Is it so that if we only want to get a country id we will get all the other countries... (AllCountries) or all the cities in a specific country?!?

eg. getLocationTargetInformation(this.APIFlags, CountryTargetType.France) returns the location id (fine) and all the cities in France!

Ludo-R at 2007-9-4 > top of Msdn Tech,Windows Live Developer Forums,Microsoft adCenter: Development...
# 2

Yes. Seems like you found the answer yourself... Let us know please if you had other questions on this topic...

Thanks!

Shai

ShaiKariv-MSFT at 2007-9-4 > top of Msdn Tech,Windows Live Developer Forums,Microsoft adCenter: Development...

Windows Live Developer Forums

Site Classified