public final class DfpSettings
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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
DfpSettings() |
Modifier and Type | Method and Description |
---|---|
DfpSettings |
clone() |
String |
getDfpNetworkCode()
Ad Manager network code for this directory site.
|
String |
getDfpNetworkName()
Ad Manager network name for this directory site.
|
Boolean |
getProgrammaticPlacementAccepted()
Whether this directory site accepts programmatic placements.
|
Boolean |
getPublisherPortalOnly()
Whether this directory site is available only via Publisher Portal.
|
Boolean |
getPubPaidPlacementAccepted()
Whether this directory site accepts publisher-paid tags.
|
DfpSettings |
set(String fieldName,
Object value) |
DfpSettings |
setDfpNetworkCode(String dfpNetworkCode)
Ad Manager network code for this directory site.
|
DfpSettings |
setDfpNetworkName(String dfpNetworkName)
Ad Manager network name for this directory site.
|
DfpSettings |
setProgrammaticPlacementAccepted(Boolean programmaticPlacementAccepted)
Whether this directory site accepts programmatic placements.
|
DfpSettings |
setPublisherPortalOnly(Boolean publisherPortalOnly)
Whether this directory site is available only via Publisher Portal.
|
DfpSettings |
setPubPaidPlacementAccepted(Boolean pubPaidPlacementAccepted)
Whether this directory site accepts publisher-paid tags.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getDfpNetworkCode()
null
for nonepublic DfpSettings setDfpNetworkCode(String dfpNetworkCode)
dfpNetworkCode
- dfpNetworkCode or null
for nonepublic String getDfpNetworkName()
null
for nonepublic DfpSettings setDfpNetworkName(String dfpNetworkName)
dfpNetworkName
- dfpNetworkName or null
for nonepublic Boolean getProgrammaticPlacementAccepted()
null
for nonepublic DfpSettings setProgrammaticPlacementAccepted(Boolean programmaticPlacementAccepted)
programmaticPlacementAccepted
- programmaticPlacementAccepted or null
for nonepublic Boolean getPubPaidPlacementAccepted()
null
for nonepublic DfpSettings setPubPaidPlacementAccepted(Boolean pubPaidPlacementAccepted)
pubPaidPlacementAccepted
- pubPaidPlacementAccepted or null
for nonepublic Boolean getPublisherPortalOnly()
null
for nonepublic DfpSettings setPublisherPortalOnly(Boolean publisherPortalOnly)
publisherPortalOnly
- publisherPortalOnly or null
for nonepublic DfpSettings set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public DfpSettings clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.