com.google.api.ads.dfp.v201111
Class LineItem

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

public class LineItem
extends LineItemSummary
implements Serializable

LineItem is an advertiser's commitment to purchase a specific number of ad impressions, clicks, or time.

See Also:
Serialized Form

Constructor Summary
LineItem()
           
LineItem(Long orderId, Long id, String name, String externalId, String orderName, DateTime startDateTime, StartDateTimeType startDateTimeType, DateTime endDateTime, Boolean unlimitedEndDateTime, CreativeRotationType creativeRotationType, DeliveryRateType deliveryRateType, RoadblockingType roadblockingType, FrequencyCap[] frequencyCaps, LineItemType lineItemType, Integer priority, UnitType unitType, LineItemSummaryDuration duration, Long unitsBought, Money costPerUnit, Money valueCostPerUnit, CostType costType, LineItemDiscountType discountType, Double discount, Long contractedUnitsBought, CreativePlaceholder[] creativePlaceholders, TargetPlatform targetPlatform, EnvironmentType environmentType, CompanionDeliveryOption companionDeliveryOption, Boolean allowOverbook, Boolean reserveAtCreation, Stats stats, DeliveryIndicator deliveryIndicator, DeliveryData deliveryData, Money budget, ComputedStatus status, LineItemSummaryReservationStatus reservationStatus, Boolean isArchived, AppliedLabel[] appliedLabels, AppliedLabel[] effectiveAppliedLabels, Boolean disableSameAdvertiserCompetitiveExclusion, String lastModifiedByApp, String notes, String lineItemSummaryType, Targeting targeting)
           
 
Method Summary
 boolean equals(Object obj)
           
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
 Targeting getTargeting()
          Gets the targeting value for this LineItem.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setTargeting(Targeting targeting)
          Sets the targeting value for this LineItem.
 
Methods inherited from class com.google.api.ads.dfp.v201111.LineItemSummary
getAllowOverbook, getAppliedLabels, getAppliedLabels, getBudget, getCompanionDeliveryOption, getContractedUnitsBought, getCostPerUnit, getCostType, getCreativePlaceholders, getCreativePlaceholders, getCreativeRotationType, getDeliveryData, getDeliveryIndicator, getDeliveryRateType, getDisableSameAdvertiserCompetitiveExclusion, getDiscount, getDiscountType, getDuration, getEffectiveAppliedLabels, getEffectiveAppliedLabels, getEndDateTime, getEnvironmentType, getExternalId, getFrequencyCaps, getFrequencyCaps, getId, getIsArchived, getLastModifiedByApp, getLineItemSummaryType, getLineItemType, getName, getNotes, getOrderId, getOrderName, getPriority, getReservationStatus, getReserveAtCreation, getRoadblockingType, getStartDateTime, getStartDateTimeType, getStats, getStatus, getTargetPlatform, getUnitsBought, getUnitType, getUnlimitedEndDateTime, getValueCostPerUnit, setAllowOverbook, setAppliedLabels, setAppliedLabels, setBudget, setCompanionDeliveryOption, setContractedUnitsBought, setCostPerUnit, setCostType, setCreativePlaceholders, setCreativePlaceholders, setCreativeRotationType, setDeliveryData, setDeliveryIndicator, setDeliveryRateType, setDisableSameAdvertiserCompetitiveExclusion, setDiscount, setDiscountType, setDuration, setEffectiveAppliedLabels, setEffectiveAppliedLabels, setEndDateTime, setEnvironmentType, setExternalId, setFrequencyCaps, setFrequencyCaps, setId, setIsArchived, setLastModifiedByApp, setLineItemSummaryType, setLineItemType, setName, setNotes, setOrderId, setOrderName, setPriority, setReservationStatus, setReserveAtCreation, setRoadblockingType, setStartDateTime, setStartDateTimeType, setStats, setStatus, setTargetPlatform, setUnitsBought, setUnitType, setUnlimitedEndDateTime, setValueCostPerUnit
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineItem

public LineItem()

LineItem

public LineItem(Long orderId,
                Long id,
                String name,
                String externalId,
                String orderName,
                DateTime startDateTime,
                StartDateTimeType startDateTimeType,
                DateTime endDateTime,
                Boolean unlimitedEndDateTime,
                CreativeRotationType creativeRotationType,
                DeliveryRateType deliveryRateType,
                RoadblockingType roadblockingType,
                FrequencyCap[] frequencyCaps,
                LineItemType lineItemType,
                Integer priority,
                UnitType unitType,
                LineItemSummaryDuration duration,
                Long unitsBought,
                Money costPerUnit,
                Money valueCostPerUnit,
                CostType costType,
                LineItemDiscountType discountType,
                Double discount,
                Long contractedUnitsBought,
                CreativePlaceholder[] creativePlaceholders,
                TargetPlatform targetPlatform,
                EnvironmentType environmentType,
                CompanionDeliveryOption companionDeliveryOption,
                Boolean allowOverbook,
                Boolean reserveAtCreation,
                Stats stats,
                DeliveryIndicator deliveryIndicator,
                DeliveryData deliveryData,
                Money budget,
                ComputedStatus status,
                LineItemSummaryReservationStatus reservationStatus,
                Boolean isArchived,
                AppliedLabel[] appliedLabels,
                AppliedLabel[] effectiveAppliedLabels,
                Boolean disableSameAdvertiserCompetitiveExclusion,
                String lastModifiedByApp,
                String notes,
                String lineItemSummaryType,
                Targeting targeting)
Method Detail

getTargeting

public Targeting getTargeting()
Gets the targeting value for this LineItem.

Returns:
targeting * Contains the targeting criteria for the ad campaign. This attribute is required.

setTargeting

public void setTargeting(Targeting targeting)
Sets the targeting value for this LineItem.

Parameters:
targeting - * Contains the targeting criteria for the ad campaign. This attribute is required.

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class LineItemSummary

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 © 2011. All Rights Reserved.