com.google.api.ads.dfp.axis.v201206
Class DayPartTargeting

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

public class DayPartTargeting
extends Object
implements Serializable

Modify the delivery times of line items for particular days of the week. By default, line items are served at all days and times.

See Also:
Serialized Form

Constructor Summary
DayPartTargeting()
           
DayPartTargeting(DayPart[] dayParts, DeliveryTimeZone timeZone)
           
 
Method Summary
 boolean equals(Object obj)
           
 DayPart[] getDayParts()
          Gets the dayParts value for this DayPartTargeting.
 DayPart getDayParts(int i)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 DeliveryTimeZone getTimeZone()
          Gets the timeZone value for this DayPartTargeting.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setDayParts(DayPart[] dayParts)
          Sets the dayParts value for this DayPartTargeting.
 void setDayParts(int i, DayPart _value)
           
 void setTimeZone(DeliveryTimeZone timeZone)
          Sets the timeZone value for this DayPartTargeting.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DayPartTargeting

public DayPartTargeting()

DayPartTargeting

public DayPartTargeting(DayPart[] dayParts,
                        DeliveryTimeZone timeZone)
Method Detail

getDayParts

public DayPart[] getDayParts()
Gets the dayParts value for this DayPartTargeting.

Returns:
dayParts * Specifies days of the week and times at which a LineItem will be delivered.

If targeting all days and times, this value will be ignored.


setDayParts

public void setDayParts(DayPart[] dayParts)
Sets the dayParts value for this DayPartTargeting.

Parameters:
dayParts - * Specifies days of the week and times at which a LineItem will be delivered.

If targeting all days and times, this value will be ignored.


getDayParts

public DayPart getDayParts(int i)

setDayParts

public void setDayParts(int i,
                        DayPart _value)

getTimeZone

public DeliveryTimeZone getTimeZone()
Gets the timeZone value for this DayPartTargeting.

Returns:
timeZone * Specifies the time zone to be used for delivering LineItem objects. This attribute is optional and defaults to DeliveryTimeZone.BROWSER.

Setting this has no effect if targeting all days and times.


setTimeZone

public void setTimeZone(DeliveryTimeZone timeZone)
Sets the timeZone value for this DayPartTargeting.

Parameters:
timeZone - * Specifies the time zone to be used for delivering LineItem objects. This attribute is optional and defaults to DeliveryTimeZone.BROWSER.

Setting this has no effect if targeting all days and times.


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.