public class LineItem extends LineItemSummary
LineItem is an advertiser's commitment to purchase a specific number
of ad impressions, clicks, or time.
Java class for LineItem complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LineItem">
<complexContent>
<extension base="{https://www.google.com/apis/ads/publisher/v201802}LineItemSummary">
<sequence>
<element name="targeting" type="{https://www.google.com/apis/ads/publisher/v201802}Targeting" minOccurs="0"/>
<element name="creativeTargetings" type="{https://www.google.com/apis/ads/publisher/v201802}CreativeTargeting" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<CreativeTargeting> |
creativeTargetings |
protected Targeting |
targeting |
activityAssociations, adExchangeAuctionOpeningPriority, allowOverbook, appliedLabels, autoExtensionDays, budget, companionDeliveryOption, contractedUnitsBought, costPerUnit, costType, creationDateTime, creativePlaceholders, creativeRotationType, customFieldValues, deliveryData, deliveryIndicator, deliveryRateType, disableSameAdvertiserCompetitiveExclusion, discount, discountType, effectiveAppliedLabels, endDateTime, environmentType, externalId, frequencyCaps, grpSettings, id, isArchived, isMissingCreatives, isPrioritizedPreferredDealsEnabled, isSetTopBoxEnabled, lastModifiedByApp, lastModifiedDateTime, lineItemType, name, notes, orderId, orderName, primaryGoal, priority, programmaticCreativeSource, reservationStatus, reserveAtCreation, roadblockingType, secondaryGoals, setTopBoxDisplayInfo, skipCrossSellingRuleWarningChecks, skipInventoryCheck, startDateTime, startDateTimeType, stats, status, unlimitedEndDateTime, valueCostPerUnit, videoMaxDuration, webPropertyCode| Constructor and Description |
|---|
LineItem() |
| Modifier and Type | Method and Description |
|---|---|
List<CreativeTargeting> |
getCreativeTargetings()
Gets the value of the creativeTargetings property.
|
Targeting |
getTargeting()
Gets the value of the targeting property.
|
void |
setTargeting(Targeting value)
Sets the value of the targeting property.
|
getActivityAssociations, getAdExchangeAuctionOpeningPriority, getAppliedLabels, getAutoExtensionDays, getBudget, getCompanionDeliveryOption, getContractedUnitsBought, getCostPerUnit, getCostType, getCreationDateTime, getCreativePlaceholders, getCreativeRotationType, getCustomFieldValues, getDeliveryData, getDeliveryIndicator, getDeliveryRateType, getDiscount, getDiscountType, getEffectiveAppliedLabels, getEndDateTime, getEnvironmentType, getExternalId, getFrequencyCaps, getGrpSettings, getId, getLastModifiedByApp, getLastModifiedDateTime, getLineItemType, getName, getNotes, getOrderId, getOrderName, getPrimaryGoal, getPriority, getProgrammaticCreativeSource, getReservationStatus, getRoadblockingType, getSecondaryGoals, getSetTopBoxDisplayInfo, getStartDateTime, getStartDateTimeType, getStats, getStatus, getValueCostPerUnit, getVideoMaxDuration, getWebPropertyCode, isAllowOverbook, isDisableSameAdvertiserCompetitiveExclusion, isIsArchived, isIsMissingCreatives, isIsPrioritizedPreferredDealsEnabled, isIsSetTopBoxEnabled, isReserveAtCreation, isSkipCrossSellingRuleWarningChecks, isSkipInventoryCheck, isUnlimitedEndDateTime, setAdExchangeAuctionOpeningPriority, setAllowOverbook, setAutoExtensionDays, setBudget, setCompanionDeliveryOption, setContractedUnitsBought, setCostPerUnit, setCostType, setCreationDateTime, setCreativeRotationType, setDeliveryData, setDeliveryIndicator, setDeliveryRateType, setDisableSameAdvertiserCompetitiveExclusion, setDiscount, setDiscountType, setEndDateTime, setEnvironmentType, setExternalId, setGrpSettings, setId, setIsArchived, setIsMissingCreatives, setIsPrioritizedPreferredDealsEnabled, setIsSetTopBoxEnabled, setLastModifiedByApp, setLastModifiedDateTime, setLineItemType, setName, setNotes, setOrderId, setOrderName, setPrimaryGoal, setPriority, setProgrammaticCreativeSource, setReservationStatus, setReserveAtCreation, setRoadblockingType, setSetTopBoxDisplayInfo, setSkipCrossSellingRuleWarningChecks, setSkipInventoryCheck, setStartDateTime, setStartDateTimeType, setStats, setStatus, setUnlimitedEndDateTime, setValueCostPerUnit, setVideoMaxDuration, setWebPropertyCodeprotected Targeting targeting
protected List<CreativeTargeting> creativeTargetings
public Targeting getTargeting()
Targetingpublic void setTargeting(Targeting value)
value - allowed object is
Targetingpublic List<CreativeTargeting> getCreativeTargetings()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the creativeTargetings property.
For example, to add a new item, do as follows:
getCreativeTargetings().add(newItem);
Objects of the following type(s) are allowed in the list
CreativeTargeting
Copyright © 2018. All Rights Reserved.