public final class InventoryItem
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Campaign Manager 360 API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
InventoryItem() |
| Modifier and Type | Method and Description |
|---|---|
InventoryItem |
clone() |
Long |
getAccountId()
Account ID of this inventory item.
|
List<AdSlot> |
getAdSlots()
Ad slots of this inventory item.
|
Long |
getAdvertiserId()
Advertiser ID of this inventory item.
|
Long |
getContentCategoryId()
Content category ID of this inventory item.
|
Long |
getEstimatedClickThroughRate()
Estimated click-through rate of this inventory item.
|
Long |
getEstimatedConversionRate()
Estimated conversion rate of this inventory item.
|
Long |
getId()
ID of this inventory item.
|
Boolean |
getInPlan()
Whether this inventory item is in plan.
|
String |
getKind()
Identifies what kind of resource this is.
|
LastModifiedInfo |
getLastModifiedInfo()
Information about the most recent modification of this inventory item.
|
String |
getName()
Name of this inventory item.
|
Long |
getNegotiationChannelId()
Negotiation channel ID of this inventory item.
|
Long |
getOrderId()
Order ID of this inventory item.
|
Long |
getPlacementStrategyId()
Placement strategy ID of this inventory item.
|
Pricing |
getPricing()
Pricing of this inventory item.
|
Long |
getProjectId()
Project ID of this inventory item.
|
Long |
getRfpId()
RFP ID of this inventory item.
|
Long |
getSiteId()
ID of the site this inventory item is associated with.
|
Long |
getSubaccountId()
Subaccount ID of this inventory item.
|
String |
getType()
Type of inventory item.
|
InventoryItem |
set(String fieldName,
Object value) |
InventoryItem |
setAccountId(Long accountId)
Account ID of this inventory item.
|
InventoryItem |
setAdSlots(List<AdSlot> adSlots)
Ad slots of this inventory item.
|
InventoryItem |
setAdvertiserId(Long advertiserId)
Advertiser ID of this inventory item.
|
InventoryItem |
setContentCategoryId(Long contentCategoryId)
Content category ID of this inventory item.
|
InventoryItem |
setEstimatedClickThroughRate(Long estimatedClickThroughRate)
Estimated click-through rate of this inventory item.
|
InventoryItem |
setEstimatedConversionRate(Long estimatedConversionRate)
Estimated conversion rate of this inventory item.
|
InventoryItem |
setId(Long id)
ID of this inventory item.
|
InventoryItem |
setInPlan(Boolean inPlan)
Whether this inventory item is in plan.
|
InventoryItem |
setKind(String kind)
Identifies what kind of resource this is.
|
InventoryItem |
setLastModifiedInfo(LastModifiedInfo lastModifiedInfo)
Information about the most recent modification of this inventory item.
|
InventoryItem |
setName(String name)
Name of this inventory item.
|
InventoryItem |
setNegotiationChannelId(Long negotiationChannelId)
Negotiation channel ID of this inventory item.
|
InventoryItem |
setOrderId(Long orderId)
Order ID of this inventory item.
|
InventoryItem |
setPlacementStrategyId(Long placementStrategyId)
Placement strategy ID of this inventory item.
|
InventoryItem |
setPricing(Pricing pricing)
Pricing of this inventory item.
|
InventoryItem |
setProjectId(Long projectId)
Project ID of this inventory item.
|
InventoryItem |
setRfpId(Long rfpId)
RFP ID of this inventory item.
|
InventoryItem |
setSiteId(Long siteId)
ID of the site this inventory item is associated with.
|
InventoryItem |
setSubaccountId(Long subaccountId)
Subaccount ID of this inventory item.
|
InventoryItem |
setType(String type)
Type of inventory item.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Long getAccountId()
null for nonepublic InventoryItem setAccountId(Long accountId)
accountId - accountId or null for nonepublic List<AdSlot> getAdSlots()
null for nonepublic InventoryItem setAdSlots(List<AdSlot> adSlots)
adSlots - adSlots or null for nonepublic Long getAdvertiserId()
null for nonepublic InventoryItem setAdvertiserId(Long advertiserId)
advertiserId - advertiserId or null for nonepublic Long getContentCategoryId()
null for nonepublic InventoryItem setContentCategoryId(Long contentCategoryId)
contentCategoryId - contentCategoryId or null for nonepublic Long getEstimatedClickThroughRate()
null for nonepublic InventoryItem setEstimatedClickThroughRate(Long estimatedClickThroughRate)
estimatedClickThroughRate - estimatedClickThroughRate or null for nonepublic Long getEstimatedConversionRate()
null for nonepublic InventoryItem setEstimatedConversionRate(Long estimatedConversionRate)
estimatedConversionRate - estimatedConversionRate or null for nonepublic Long getId()
null for nonepublic InventoryItem setId(Long id)
id - id or null for nonepublic Boolean getInPlan()
null for nonepublic InventoryItem setInPlan(Boolean inPlan)
inPlan - inPlan or null for nonepublic String getKind()
null for nonepublic InventoryItem setKind(String kind)
kind - kind or null for nonepublic LastModifiedInfo getLastModifiedInfo()
null for nonepublic InventoryItem setLastModifiedInfo(LastModifiedInfo lastModifiedInfo)
lastModifiedInfo - lastModifiedInfo or null for nonepublic String getName()
null for nonepublic InventoryItem setName(String name)
name - name or null for nonepublic Long getNegotiationChannelId()
null for nonepublic InventoryItem setNegotiationChannelId(Long negotiationChannelId)
negotiationChannelId - negotiationChannelId or null for nonepublic Long getOrderId()
null for nonepublic InventoryItem setOrderId(Long orderId)
orderId - orderId or null for nonepublic Long getPlacementStrategyId()
null for nonepublic InventoryItem setPlacementStrategyId(Long placementStrategyId)
placementStrategyId - placementStrategyId or null for nonepublic Pricing getPricing()
null for nonepublic InventoryItem setPricing(Pricing pricing)
pricing - pricing or null for nonepublic Long getProjectId()
null for nonepublic InventoryItem setProjectId(Long projectId)
projectId - projectId or null for nonepublic Long getRfpId()
null for nonepublic InventoryItem setRfpId(Long rfpId)
rfpId - rfpId or null for nonepublic Long getSiteId()
null for nonepublic InventoryItem setSiteId(Long siteId)
siteId - siteId or null for nonepublic Long getSubaccountId()
null for nonepublic InventoryItem setSubaccountId(Long subaccountId)
subaccountId - subaccountId or null for nonepublic String getType()
null for nonepublic InventoryItem setType(String type)
type - type or null for nonepublic InventoryItem set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic InventoryItem clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.