com.yahoo.marketing.apt
Interface GeographicalTargetingService

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
GeographicalTargetingServiceHttpBindingStub

public interface GeographicalTargetingService
extends java.rmi.Remote


Method Summary
 Region[] getAncestorRegions(long regionWOEID)
           
 Region[] getCountries()
           
 java.lang.String getExtendedName(long regionWOEID)
           
 Region getRegion(long WOEID)
           
 RegionLevel[] getRegionLevelsForCountry(long countryWOEID)
           
 Region[] getRegions(long[] WOEIDs)
           
 Region[] getRegionsByLevelWithinRadius(long radius, DistanceUnits distanceUnits, long regionWOEID, long level, int startElement, int numElements)
           
 Region[] getRegionsByParentByLevel(long[] parentWOEIDs, long level, int startElement, int numElements)
           
 RegionProbability[] getRegionsByString(java.lang.String regionName)
           
 RegionProbability[] getRegionsByStringByCountry(java.lang.String regionName, long countryWOEID)
           
 

Method Detail

getAncestorRegions

Region[] getAncestorRegions(long regionWOEID)
                            throws java.rmi.RemoteException,
                                   ApiFault
Throws:
java.rmi.RemoteException
ApiFault

getCountries

Region[] getCountries()
                      throws java.rmi.RemoteException,
                             ApiFault
Throws:
java.rmi.RemoteException
ApiFault

getExtendedName

java.lang.String getExtendedName(long regionWOEID)
                                 throws java.rmi.RemoteException,
                                        ApiFault
Throws:
java.rmi.RemoteException
ApiFault

getRegion

Region getRegion(long WOEID)
                 throws java.rmi.RemoteException,
                        ApiFault
Throws:
java.rmi.RemoteException
ApiFault

getRegionLevelsForCountry

RegionLevel[] getRegionLevelsForCountry(long countryWOEID)
                                        throws java.rmi.RemoteException,
                                               ApiFault
Throws:
java.rmi.RemoteException
ApiFault

getRegions

Region[] getRegions(long[] WOEIDs)
                    throws java.rmi.RemoteException,
                           ApiFault
Throws:
java.rmi.RemoteException
ApiFault

getRegionsByLevelWithinRadius

Region[] getRegionsByLevelWithinRadius(long radius,
                                       DistanceUnits distanceUnits,
                                       long regionWOEID,
                                       long level,
                                       int startElement,
                                       int numElements)
                                       throws java.rmi.RemoteException,
                                              ApiFault
Throws:
java.rmi.RemoteException
ApiFault

getRegionsByParentByLevel

Region[] getRegionsByParentByLevel(long[] parentWOEIDs,
                                   long level,
                                   int startElement,
                                   int numElements)
                                   throws java.rmi.RemoteException,
                                          ApiFault
Throws:
java.rmi.RemoteException
ApiFault

getRegionsByString

RegionProbability[] getRegionsByString(java.lang.String regionName)
                                       throws java.rmi.RemoteException,
                                              ApiFault
Throws:
java.rmi.RemoteException
ApiFault

getRegionsByStringByCountry

RegionProbability[] getRegionsByStringByCountry(java.lang.String regionName,
                                                long countryWOEID)
                                                throws java.rmi.RemoteException,
                                                       ApiFault
Throws:
java.rmi.RemoteException
ApiFault