public final class Placement
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 | 
|---|
Placement()  | 
| Modifier and Type | Method and Description | 
|---|---|
Placement | 
clone()  | 
Long | 
getAccountId()
Account ID of this placement. 
 | 
String | 
getActiveStatus()
Whether this placement is active, inactive, archived or permanently archived. 
 | 
Boolean | 
getAdBlockingOptOut()
Whether this placement opts out of ad blocking. 
 | 
List<Size> | 
getAdditionalSizes()
Additional sizes associated with this placement. 
 | 
Long | 
getAdServingPlatformId()
Optional. 
 | 
Long | 
getAdvertiserId()
Advertiser ID of this placement. 
 | 
DimensionValue | 
getAdvertiserIdDimensionValue()
Dimension value for the ID of the advertiser. 
 | 
Boolean | 
getAllowOnYoutube()
Optional. 
 | 
Long | 
getCampaignId()
Campaign ID of this placement. 
 | 
DimensionValue | 
getCampaignIdDimensionValue()
Dimension value for the ID of the campaign. 
 | 
String | 
getComment()
Comments for this placement. 
 | 
String | 
getCompatibility()
Placement compatibility. 
 | 
Long | 
getContentCategoryId()
ID of the content category assigned to this placement. 
 | 
PlacementConversionDomainOverride | 
getConversionDomainOverride()
Optional. 
 | 
LastModifiedInfo | 
getCreateInfo()
Information about the creation of this placement. 
 | 
Long | 
getDirectorySiteId()
Directory site ID of this placement. 
 | 
DimensionValue | 
getDirectorySiteIdDimensionValue()
Dimension value for the ID of the directory site. 
 | 
String | 
getExternalId()
External ID for this placement. 
 | 
Long | 
getId()
ID of this placement. 
 | 
DimensionValue | 
getIdDimensionValue()
Dimension value for the ID of this placement. 
 | 
String | 
getKeyName()
Key name of this placement. 
 | 
String | 
getKind()
Identifies what kind of resource this is. 
 | 
LastModifiedInfo | 
getLastModifiedInfo()
Information about the most recent modification of this placement. 
 | 
LookbackConfiguration | 
getLookbackConfiguration()
Lookback window settings for this placement. 
 | 
String | 
getName()
Name of this placement.This is a required field and must be less than or equal to 512
 characters long. 
 | 
MeasurementPartnerWrappingData | 
getPartnerWrappingData()
Measurement partner provided settings for a wrapped placement. 
 | 
Boolean | 
getPaymentApproved()
Whether payment was approved for this placement. 
 | 
String | 
getPaymentSource()
Payment source for this placement. 
 | 
Long | 
getPlacementGroupId()
ID of this placement's group, if applicable. 
 | 
DimensionValue | 
getPlacementGroupIdDimensionValue()
Dimension value for the ID of the placement group. 
 | 
Long | 
getPlacementStrategyId()
ID of the placement strategy assigned to this placement. 
 | 
PricingSchedule | 
getPricingSchedule()
Pricing schedule of this placement. 
 | 
Boolean | 
getPrimary()
Whether this placement is the primary placement of a roadblock (placement group). 
 | 
LastModifiedInfo | 
getPublisherUpdateInfo()
Information about the last publisher update. 
 | 
Long | 
getSiteId()
Site ID associated with this placement. 
 | 
DimensionValue | 
getSiteIdDimensionValue()
Dimension value for the ID of the site. 
 | 
Boolean | 
getSiteServed()
Optional. 
 | 
Size | 
getSize()
Size associated with this placement. 
 | 
Boolean | 
getSslRequired()
Whether creatives assigned to this placement must be SSL-compliant. 
 | 
String | 
getStatus()
Third-party placement status. 
 | 
Long | 
getSubaccountId()
Subaccount ID of this placement. 
 | 
List<String> | 
getTagFormats()
Tag formats to generate for this placement. 
 | 
TagSetting | 
getTagSetting()
Tag settings for this placement. 
 | 
Boolean | 
getVideoActiveViewOptOut()
Whether Verification and ActiveView are disabled for in-stream video creatives for this
 placement. 
 | 
VideoSettings | 
getVideoSettings()
A collection of settings which affect video creatives served through this placement. 
 | 
String | 
getVpaidAdapterChoice()
VPAID adapter setting for this placement. 
 | 
Boolean | 
getWrappingOptOut()
Whether this placement opts out of tag wrapping. 
 | 
YoutubeSettings | 
getYoutubeSettings()
Optional. 
 | 
Placement | 
set(String fieldName,
   Object value)  | 
Placement | 
setAccountId(Long accountId)
Account ID of this placement. 
 | 
Placement | 
setActiveStatus(String activeStatus)
Whether this placement is active, inactive, archived or permanently archived. 
 | 
Placement | 
setAdBlockingOptOut(Boolean adBlockingOptOut)
Whether this placement opts out of ad blocking. 
 | 
Placement | 
setAdditionalSizes(List<Size> additionalSizes)
Additional sizes associated with this placement. 
 | 
Placement | 
setAdServingPlatformId(Long adServingPlatformId)
Optional. 
 | 
Placement | 
setAdvertiserId(Long advertiserId)
Advertiser ID of this placement. 
 | 
Placement | 
setAdvertiserIdDimensionValue(DimensionValue advertiserIdDimensionValue)
Dimension value for the ID of the advertiser. 
 | 
Placement | 
setAllowOnYoutube(Boolean allowOnYoutube)
Optional. 
 | 
Placement | 
setCampaignId(Long campaignId)
Campaign ID of this placement. 
 | 
Placement | 
setCampaignIdDimensionValue(DimensionValue campaignIdDimensionValue)
Dimension value for the ID of the campaign. 
 | 
Placement | 
setComment(String comment)
Comments for this placement. 
 | 
Placement | 
setCompatibility(String compatibility)
Placement compatibility. 
 | 
Placement | 
setContentCategoryId(Long contentCategoryId)
ID of the content category assigned to this placement. 
 | 
Placement | 
setConversionDomainOverride(PlacementConversionDomainOverride conversionDomainOverride)
Optional. 
 | 
Placement | 
setCreateInfo(LastModifiedInfo createInfo)
Information about the creation of this placement. 
 | 
Placement | 
setDirectorySiteId(Long directorySiteId)
Directory site ID of this placement. 
 | 
Placement | 
setDirectorySiteIdDimensionValue(DimensionValue directorySiteIdDimensionValue)
Dimension value for the ID of the directory site. 
 | 
Placement | 
setExternalId(String externalId)
External ID for this placement. 
 | 
Placement | 
setId(Long id)
ID of this placement. 
 | 
Placement | 
setIdDimensionValue(DimensionValue idDimensionValue)
Dimension value for the ID of this placement. 
 | 
Placement | 
setKeyName(String keyName)
Key name of this placement. 
 | 
Placement | 
setKind(String kind)
Identifies what kind of resource this is. 
 | 
Placement | 
setLastModifiedInfo(LastModifiedInfo lastModifiedInfo)
Information about the most recent modification of this placement. 
 | 
Placement | 
setLookbackConfiguration(LookbackConfiguration lookbackConfiguration)
Lookback window settings for this placement. 
 | 
Placement | 
setName(String name)
Name of this placement.This is a required field and must be less than or equal to 512
 characters long. 
 | 
Placement | 
setPartnerWrappingData(MeasurementPartnerWrappingData partnerWrappingData)
Measurement partner provided settings for a wrapped placement. 
 | 
Placement | 
setPaymentApproved(Boolean paymentApproved)
Whether payment was approved for this placement. 
 | 
Placement | 
setPaymentSource(String paymentSource)
Payment source for this placement. 
 | 
Placement | 
setPlacementGroupId(Long placementGroupId)
ID of this placement's group, if applicable. 
 | 
Placement | 
setPlacementGroupIdDimensionValue(DimensionValue placementGroupIdDimensionValue)
Dimension value for the ID of the placement group. 
 | 
Placement | 
setPlacementStrategyId(Long placementStrategyId)
ID of the placement strategy assigned to this placement. 
 | 
Placement | 
setPricingSchedule(PricingSchedule pricingSchedule)
Pricing schedule of this placement. 
 | 
Placement | 
setPrimary(Boolean primary)
Whether this placement is the primary placement of a roadblock (placement group). 
 | 
Placement | 
setPublisherUpdateInfo(LastModifiedInfo publisherUpdateInfo)
Information about the last publisher update. 
 | 
Placement | 
setSiteId(Long siteId)
Site ID associated with this placement. 
 | 
Placement | 
setSiteIdDimensionValue(DimensionValue siteIdDimensionValue)
Dimension value for the ID of the site. 
 | 
Placement | 
setSiteServed(Boolean siteServed)
Optional. 
 | 
Placement | 
setSize(Size size)
Size associated with this placement. 
 | 
Placement | 
setSslRequired(Boolean sslRequired)
Whether creatives assigned to this placement must be SSL-compliant. 
 | 
Placement | 
setStatus(String status)
Third-party placement status. 
 | 
Placement | 
setSubaccountId(Long subaccountId)
Subaccount ID of this placement. 
 | 
Placement | 
setTagFormats(List<String> tagFormats)
Tag formats to generate for this placement. 
 | 
Placement | 
setTagSetting(TagSetting tagSetting)
Tag settings for this placement. 
 | 
Placement | 
setVideoActiveViewOptOut(Boolean videoActiveViewOptOut)
Whether Verification and ActiveView are disabled for in-stream video creatives for this
 placement. 
 | 
Placement | 
setVideoSettings(VideoSettings videoSettings)
A collection of settings which affect video creatives served through this placement. 
 | 
Placement | 
setVpaidAdapterChoice(String vpaidAdapterChoice)
VPAID adapter setting for this placement. 
 | 
Placement | 
setWrappingOptOut(Boolean wrappingOptOut)
Whether this placement opts out of tag wrapping. 
 | 
Placement | 
setYoutubeSettings(YoutubeSettings youtubeSettings)
Optional. 
 | 
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 Placement setAccountId(Long accountId)
accountId - accountId or null for nonepublic String getActiveStatus()
null for nonepublic Placement setActiveStatus(String activeStatus)
activeStatus - activeStatus or null for nonepublic Boolean getAdBlockingOptOut()
null for nonepublic Placement setAdBlockingOptOut(Boolean adBlockingOptOut)
adBlockingOptOut - adBlockingOptOut or null for nonepublic Long getAdServingPlatformId()
null for nonepublic Placement setAdServingPlatformId(Long adServingPlatformId)
adServingPlatformId - adServingPlatformId or null for nonepublic List<Size> getAdditionalSizes()
null for nonepublic Placement setAdditionalSizes(List<Size> additionalSizes)
additionalSizes - additionalSizes or null for nonepublic Long getAdvertiserId()
null for nonepublic Placement setAdvertiserId(Long advertiserId)
advertiserId - advertiserId or null for nonepublic DimensionValue getAdvertiserIdDimensionValue()
null for nonepublic Placement setAdvertiserIdDimensionValue(DimensionValue advertiserIdDimensionValue)
advertiserIdDimensionValue - advertiserIdDimensionValue or null for nonepublic Boolean getAllowOnYoutube()
null for nonepublic Placement setAllowOnYoutube(Boolean allowOnYoutube)
allowOnYoutube - allowOnYoutube or null for nonepublic Long getCampaignId()
null for nonepublic Placement setCampaignId(Long campaignId)
campaignId - campaignId or null for nonepublic DimensionValue getCampaignIdDimensionValue()
null for nonepublic Placement setCampaignIdDimensionValue(DimensionValue campaignIdDimensionValue)
campaignIdDimensionValue - campaignIdDimensionValue or null for nonepublic String getComment()
null for nonepublic Placement setComment(String comment)
comment - comment or null for nonepublic String getCompatibility()
null for nonepublic Placement setCompatibility(String compatibility)
compatibility - compatibility or null for nonepublic Long getContentCategoryId()
null for nonepublic Placement setContentCategoryId(Long contentCategoryId)
contentCategoryId - contentCategoryId or null for nonepublic PlacementConversionDomainOverride getConversionDomainOverride()
null for nonepublic Placement setConversionDomainOverride(PlacementConversionDomainOverride conversionDomainOverride)
conversionDomainOverride - conversionDomainOverride or null for nonepublic LastModifiedInfo getCreateInfo()
null for nonepublic Placement setCreateInfo(LastModifiedInfo createInfo)
createInfo - createInfo or null for nonepublic Long getDirectorySiteId()
null for nonepublic Placement setDirectorySiteId(Long directorySiteId)
directorySiteId - directorySiteId or null for nonepublic DimensionValue getDirectorySiteIdDimensionValue()
null for nonepublic Placement setDirectorySiteIdDimensionValue(DimensionValue directorySiteIdDimensionValue)
directorySiteIdDimensionValue - directorySiteIdDimensionValue or null for nonepublic String getExternalId()
null for nonepublic Placement setExternalId(String externalId)
externalId - externalId or null for nonepublic Long getId()
null for nonepublic Placement setId(Long id)
id - id or null for nonepublic DimensionValue getIdDimensionValue()
null for nonepublic Placement setIdDimensionValue(DimensionValue idDimensionValue)
idDimensionValue - idDimensionValue or null for nonepublic String getKeyName()
null for nonepublic Placement setKeyName(String keyName)
keyName - keyName or null for nonepublic String getKind()
null for nonepublic Placement setKind(String kind)
kind - kind or null for nonepublic LastModifiedInfo getLastModifiedInfo()
null for nonepublic Placement setLastModifiedInfo(LastModifiedInfo lastModifiedInfo)
lastModifiedInfo - lastModifiedInfo or null for nonepublic LookbackConfiguration getLookbackConfiguration()
null for nonepublic Placement setLookbackConfiguration(LookbackConfiguration lookbackConfiguration)
lookbackConfiguration - lookbackConfiguration or null for nonepublic String getName()
null for nonepublic Placement setName(String name)
name - name or null for nonepublic MeasurementPartnerWrappingData getPartnerWrappingData()
null for nonepublic Placement setPartnerWrappingData(MeasurementPartnerWrappingData partnerWrappingData)
partnerWrappingData - partnerWrappingData or null for nonepublic Boolean getPaymentApproved()
null for nonepublic Placement setPaymentApproved(Boolean paymentApproved)
paymentApproved - paymentApproved or null for nonepublic String getPaymentSource()
null for nonepublic Placement setPaymentSource(String paymentSource)
paymentSource - paymentSource or null for nonepublic Long getPlacementGroupId()
null for nonepublic Placement setPlacementGroupId(Long placementGroupId)
placementGroupId - placementGroupId or null for nonepublic DimensionValue getPlacementGroupIdDimensionValue()
null for nonepublic Placement setPlacementGroupIdDimensionValue(DimensionValue placementGroupIdDimensionValue)
placementGroupIdDimensionValue - placementGroupIdDimensionValue or null for nonepublic Long getPlacementStrategyId()
null for nonepublic Placement setPlacementStrategyId(Long placementStrategyId)
placementStrategyId - placementStrategyId or null for nonepublic PricingSchedule getPricingSchedule()
null for nonepublic Placement setPricingSchedule(PricingSchedule pricingSchedule)
pricingSchedule - pricingSchedule or null for nonepublic Boolean getPrimary()
null for nonepublic Placement setPrimary(Boolean primary)
primary - primary or null for nonepublic LastModifiedInfo getPublisherUpdateInfo()
null for nonepublic Placement setPublisherUpdateInfo(LastModifiedInfo publisherUpdateInfo)
publisherUpdateInfo - publisherUpdateInfo or null for nonepublic Long getSiteId()
null for nonepublic Placement setSiteId(Long siteId)
siteId - siteId or null for nonepublic DimensionValue getSiteIdDimensionValue()
null for nonepublic Placement setSiteIdDimensionValue(DimensionValue siteIdDimensionValue)
siteIdDimensionValue - siteIdDimensionValue or null for nonepublic Boolean getSiteServed()
null for nonepublic Placement setSiteServed(Boolean siteServed)
siteServed - siteServed or null for nonepublic Size getSize()
null for nonepublic Placement setSize(Size size)
size - size or null for nonepublic Boolean getSslRequired()
null for nonepublic Placement setSslRequired(Boolean sslRequired)
sslRequired - sslRequired or null for nonepublic String getStatus()
null for nonepublic Placement setStatus(String status)
status - status or null for nonepublic Long getSubaccountId()
null for nonepublic Placement setSubaccountId(Long subaccountId)
subaccountId - subaccountId or null for nonepublic List<String> getTagFormats()
null for nonepublic Placement setTagFormats(List<String> tagFormats)
tagFormats - tagFormats or null for nonepublic TagSetting getTagSetting()
null for nonepublic Placement setTagSetting(TagSetting tagSetting)
tagSetting - tagSetting or null for nonepublic Boolean getVideoActiveViewOptOut()
null for nonepublic Placement setVideoActiveViewOptOut(Boolean videoActiveViewOptOut)
videoActiveViewOptOut - videoActiveViewOptOut or null for nonepublic VideoSettings getVideoSettings()
null for nonepublic Placement setVideoSettings(VideoSettings videoSettings)
videoSettings - videoSettings or null for nonepublic String getVpaidAdapterChoice()
null for nonepublic Placement setVpaidAdapterChoice(String vpaidAdapterChoice)
vpaidAdapterChoice - vpaidAdapterChoice or null for nonepublic Boolean getWrappingOptOut()
null for nonepublic Placement setWrappingOptOut(Boolean wrappingOptOut)
wrappingOptOut - wrappingOptOut or null for nonepublic YoutubeSettings getYoutubeSettings()
null for nonepublic Placement setYoutubeSettings(YoutubeSettings youtubeSettings)
youtubeSettings - youtubeSettings or null for nonepublic Placement set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Placement clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.