com.google.api.ads.dfp.axis.v201208
Class AdUnitTargeting

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

public class AdUnitTargeting
extends Object
implements Serializable

Represents targeted or excluded ad units.

See Also:
Serialized Form

Constructor Summary
AdUnitTargeting()
           
AdUnitTargeting(String adUnitId, Boolean includeDescendants)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAdUnitId()
          Gets the adUnitId value for this AdUnitTargeting.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 Boolean getIncludeDescendants()
          Gets the includeDescendants value for this AdUnitTargeting.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setAdUnitId(String adUnitId)
          Sets the adUnitId value for this AdUnitTargeting.
 void setIncludeDescendants(Boolean includeDescendants)
          Sets the includeDescendants value for this AdUnitTargeting.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdUnitTargeting

public AdUnitTargeting()

AdUnitTargeting

public AdUnitTargeting(String adUnitId,
                       Boolean includeDescendants)
Method Detail

getAdUnitId

public String getAdUnitId()
Gets the adUnitId value for this AdUnitTargeting.

Returns:
adUnitId * Included or excluded ad unit id.

setAdUnitId

public void setAdUnitId(String adUnitId)
Sets the adUnitId value for this AdUnitTargeting.

Parameters:
adUnitId - * Included or excluded ad unit id.

getIncludeDescendants

public Boolean getIncludeDescendants()
Gets the includeDescendants value for this AdUnitTargeting.

Returns:
includeDescendants * Whether or not all descendants are included (or excluded) as part of including (or excluding) this ad unit. By default, the value is true which means targeting this ad unit will target all of its descendants.

setIncludeDescendants

public void setIncludeDescendants(Boolean includeDescendants)
Sets the includeDescendants value for this AdUnitTargeting.

Parameters:
includeDescendants - * Whether or not all descendants are included (or excluded) as part of including (or excluding) this ad unit. By default, the value is true which means targeting this ad unit will target all of its descendants.

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.