com.google.api.ads.dfp.axis.v201201
Class Targeting

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

public class Targeting
extends Object
implements Serializable

Contains targeting criteria for LineItem objects. See LineItem.targeting.

See Also:
Serialized Form

Constructor Summary
Targeting()
           
Targeting(GeoTargeting geoTargeting, InventoryTargeting inventoryTargeting, DayPartTargeting dayPartTargeting, TechnologyTargeting technologyTargeting, CustomCriteriaSet customTargeting, UserDomainTargeting userDomainTargeting, ContentTargeting contentTargeting, VideoPositionTargeting videoPositionTargeting)
           
 
Method Summary
 boolean equals(Object obj)
           
 ContentTargeting getContentTargeting()
          Gets the contentTargeting value for this Targeting.
 CustomCriteriaSet getCustomTargeting()
          Gets the customTargeting value for this Targeting.
 DayPartTargeting getDayPartTargeting()
          Gets the dayPartTargeting value for this Targeting.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 GeoTargeting getGeoTargeting()
          Gets the geoTargeting value for this Targeting.
 InventoryTargeting getInventoryTargeting()
          Gets the inventoryTargeting value for this Targeting.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 TechnologyTargeting getTechnologyTargeting()
          Gets the technologyTargeting value for this Targeting.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 UserDomainTargeting getUserDomainTargeting()
          Gets the userDomainTargeting value for this Targeting.
 VideoPositionTargeting getVideoPositionTargeting()
          Gets the videoPositionTargeting value for this Targeting.
 int hashCode()
           
 void setContentTargeting(ContentTargeting contentTargeting)
          Sets the contentTargeting value for this Targeting.
 void setCustomTargeting(CustomCriteriaSet customTargeting)
          Sets the customTargeting value for this Targeting.
 void setDayPartTargeting(DayPartTargeting dayPartTargeting)
          Sets the dayPartTargeting value for this Targeting.
 void setGeoTargeting(GeoTargeting geoTargeting)
          Sets the geoTargeting value for this Targeting.
 void setInventoryTargeting(InventoryTargeting inventoryTargeting)
          Sets the inventoryTargeting value for this Targeting.
 void setTechnologyTargeting(TechnologyTargeting technologyTargeting)
          Sets the technologyTargeting value for this Targeting.
 void setUserDomainTargeting(UserDomainTargeting userDomainTargeting)
          Sets the userDomainTargeting value for this Targeting.
 void setVideoPositionTargeting(VideoPositionTargeting videoPositionTargeting)
          Sets the videoPositionTargeting value for this Targeting.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Targeting

public Targeting()

Targeting

public Targeting(GeoTargeting geoTargeting,
                 InventoryTargeting inventoryTargeting,
                 DayPartTargeting dayPartTargeting,
                 TechnologyTargeting technologyTargeting,
                 CustomCriteriaSet customTargeting,
                 UserDomainTargeting userDomainTargeting,
                 ContentTargeting contentTargeting,
                 VideoPositionTargeting videoPositionTargeting)
Method Detail

getGeoTargeting

public GeoTargeting getGeoTargeting()
Gets the geoTargeting value for this Targeting.

Returns:
geoTargeting * Specifies what geographical locations are targeted by the LineItem. This attribute is optional.

setGeoTargeting

public void setGeoTargeting(GeoTargeting geoTargeting)
Sets the geoTargeting value for this Targeting.

Parameters:
geoTargeting - * Specifies what geographical locations are targeted by the LineItem. This attribute is optional.

getInventoryTargeting

public InventoryTargeting getInventoryTargeting()
Gets the inventoryTargeting value for this Targeting.

Returns:
inventoryTargeting * Specifies what inventory is targeted by the LineItem. This attribute is required.

setInventoryTargeting

public void setInventoryTargeting(InventoryTargeting inventoryTargeting)
Sets the inventoryTargeting value for this Targeting.

Parameters:
inventoryTargeting - * Specifies what inventory is targeted by the LineItem. This attribute is required.

getDayPartTargeting

public DayPartTargeting getDayPartTargeting()
Gets the dayPartTargeting value for this Targeting.

Returns:
dayPartTargeting * Specifies the days of the week and times that are targeted by the LineItem. This attribute is optional.

setDayPartTargeting

public void setDayPartTargeting(DayPartTargeting dayPartTargeting)
Sets the dayPartTargeting value for this Targeting.

Parameters:
dayPartTargeting - * Specifies the days of the week and times that are targeted by the LineItem. This attribute is optional.

getTechnologyTargeting

public TechnologyTargeting getTechnologyTargeting()
Gets the technologyTargeting value for this Targeting.

Returns:
technologyTargeting * Specifies the browsing technologies that are targeted by the LineItem. This attribute is optional.

setTechnologyTargeting

public void setTechnologyTargeting(TechnologyTargeting technologyTargeting)
Sets the technologyTargeting value for this Targeting.

Parameters:
technologyTargeting - * Specifies the browsing technologies that are targeted by the LineItem. This attribute is optional.

getCustomTargeting

public CustomCriteriaSet getCustomTargeting()
Gets the customTargeting value for this Targeting.

Returns:
customTargeting * Specifies the collection of custom criteria that is targeted by the LineItem.

Once the LineItem is updated or modified with custom targeting, the server may return a normalized, but equivalent representation of the custom targeting expression.

customTargeting will have up to three levels of expressions including itself.

The top level CustomCriteriaSet i.e. the customTargeting object can only contain a CustomCriteriaSet.LogicalOperator#OR of all its children.

The second level of CustomCriteriaSet objects can only contain CustomCriteriaSet.LogicalOperator#AND of all their children. If a CustomCriteria is placed on this level, the server will wrap it in a CustomCriteriaSet.

The third level can only comprise of CustomCriteria objects.

The resulting custom targeting tree would be of the form:



setCustomTargeting

public void setCustomTargeting(CustomCriteriaSet customTargeting)
Sets the customTargeting value for this Targeting.

Parameters:
customTargeting - * Specifies the collection of custom criteria that is targeted by the LineItem.

Once the LineItem is updated or modified with custom targeting, the server may return a normalized, but equivalent representation of the custom targeting expression.

customTargeting will have up to three levels of expressions including itself.

The top level CustomCriteriaSet i.e. the customTargeting object can only contain a CustomCriteriaSet.LogicalOperator#OR of all its children.

The second level of CustomCriteriaSet objects can only contain CustomCriteriaSet.LogicalOperator#AND of all their children. If a CustomCriteria is placed on this level, the server will wrap it in a CustomCriteriaSet.

The third level can only comprise of CustomCriteria objects.

The resulting custom targeting tree would be of the form:



getUserDomainTargeting

public UserDomainTargeting getUserDomainTargeting()
Gets the userDomainTargeting value for this Targeting.

Returns:
userDomainTargeting * Specifies the domains or subdomains that are targeted or excluded by the LineItem. Users visiting from an IP address associated with those domains will be targeted or excluded. This attribute is optional.

setUserDomainTargeting

public void setUserDomainTargeting(UserDomainTargeting userDomainTargeting)
Sets the userDomainTargeting value for this Targeting.

Parameters:
userDomainTargeting - * Specifies the domains or subdomains that are targeted or excluded by the LineItem. Users visiting from an IP address associated with those domains will be targeted or excluded. This attribute is optional.

getContentTargeting

public ContentTargeting getContentTargeting()
Gets the contentTargeting value for this Targeting.

Returns:
contentTargeting * Specifies the video categories and individual videos targeted by the LineItem.

setContentTargeting

public void setContentTargeting(ContentTargeting contentTargeting)
Sets the contentTargeting value for this Targeting.

Parameters:
contentTargeting - * Specifies the video categories and individual videos targeted by the LineItem.

getVideoPositionTargeting

public VideoPositionTargeting getVideoPositionTargeting()
Gets the videoPositionTargeting value for this Targeting.

Returns:
videoPositionTargeting * Specifies targeting against video position types.

setVideoPositionTargeting

public void setVideoPositionTargeting(VideoPositionTargeting videoPositionTargeting)
Sets the videoPositionTargeting value for this Targeting.

Parameters:
videoPositionTargeting - * Specifies targeting against video position types.

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.