com.google.api.ads.dfp.axis.v201111
Class GeoTargeting

java.lang.Object
  extended by com.google.api.ads.dfp.axis.v201111.GeoTargeting
All Implemented Interfaces:
Serializable

public class GeoTargeting
extends Object
implements Serializable

Provides line items the ability to target geographical locations. By default, line items target all countries and their subdivisions. With geographical targeting, you can target line items to specific countries, regions, metro areas, and cities. You can also exclude the same.

The following rules apply for geographical targeting:

See Also:
Serialized Form

Constructor Summary
GeoTargeting()
           
GeoTargeting(Location[] targetedLocations, Location[] excludedLocations)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 Location[] getExcludedLocations()
          Gets the excludedLocations value for this GeoTargeting.
 Location getExcludedLocations(int i)
           
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 Location[] getTargetedLocations()
          Gets the targetedLocations value for this GeoTargeting.
 Location getTargetedLocations(int i)
           
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setExcludedLocations(int i, Location _value)
           
 void setExcludedLocations(Location[] excludedLocations)
          Sets the excludedLocations value for this GeoTargeting.
 void setTargetedLocations(int i, Location _value)
           
 void setTargetedLocations(Location[] targetedLocations)
          Sets the targetedLocations value for this GeoTargeting.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoTargeting

public GeoTargeting()

GeoTargeting

public GeoTargeting(Location[] targetedLocations,
                    Location[] excludedLocations)
Method Detail

getTargetedLocations

public Location[] getTargetedLocations()
Gets the targetedLocations value for this GeoTargeting.

Returns:
targetedLocations * The geographical locations being targeted by the LineItem.

setTargetedLocations

public void setTargetedLocations(Location[] targetedLocations)
Sets the targetedLocations value for this GeoTargeting.

Parameters:
targetedLocations - * The geographical locations being targeted by the LineItem.

getTargetedLocations

public Location getTargetedLocations(int i)

setTargetedLocations

public void setTargetedLocations(int i,
                                 Location _value)

getExcludedLocations

public Location[] getExcludedLocations()
Gets the excludedLocations value for this GeoTargeting.

Returns:
excludedLocations * The geographical locations being excluded by the LineItem.

setExcludedLocations

public void setExcludedLocations(Location[] excludedLocations)
Sets the excludedLocations value for this GeoTargeting.

Parameters:
excludedLocations - * The geographical locations being excluded by the LineItem.

getExcludedLocations

public Location getExcludedLocations(int i)

setExcludedLocations

public void setExcludedLocations(int i,
                                 Location _value)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
                                                                Class _javaType,
                                                                QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
                                                                    Class _javaType,
                                                                    QName _xmlType)
Get Custom Deserializer



Copyright © 2012. All Rights Reserved.