public final class AdBlockingConfiguration
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 DCM/DFA Reporting And Trafficking 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| Constructor and Description |
|---|
AdBlockingConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
AdBlockingConfiguration |
clone() |
java.lang.String |
getClickThroughUrl()
Click-through URL used by brand-neutral ads.
|
java.lang.Long |
getCreativeBundleId()
ID of a creative bundle to use for this campaign.
|
java.lang.Boolean |
getEnabled()
Whether this campaign has enabled ad blocking.
|
java.lang.Boolean |
getOverrideClickThroughUrl()
Whether the brand-neutral ad's click-through URL comes from the campaign's creative bundle or
the override URL.
|
AdBlockingConfiguration |
set(java.lang.String fieldName,
java.lang.Object value) |
AdBlockingConfiguration |
setClickThroughUrl(java.lang.String clickThroughUrl)
Click-through URL used by brand-neutral ads.
|
AdBlockingConfiguration |
setCreativeBundleId(java.lang.Long creativeBundleId)
ID of a creative bundle to use for this campaign.
|
AdBlockingConfiguration |
setEnabled(java.lang.Boolean enabled)
Whether this campaign has enabled ad blocking.
|
AdBlockingConfiguration |
setOverrideClickThroughUrl(java.lang.Boolean overrideClickThroughUrl)
Whether the brand-neutral ad's click-through URL comes from the campaign's creative bundle or
the override URL.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getClickThroughUrl()
null for nonepublic AdBlockingConfiguration setClickThroughUrl(java.lang.String clickThroughUrl)
clickThroughUrl - clickThroughUrl or null for nonepublic java.lang.Long getCreativeBundleId()
null for nonepublic AdBlockingConfiguration setCreativeBundleId(java.lang.Long creativeBundleId)
creativeBundleId - creativeBundleId or null for nonepublic java.lang.Boolean getEnabled()
null for nonepublic AdBlockingConfiguration setEnabled(java.lang.Boolean enabled)
enabled - enabled or null for nonepublic java.lang.Boolean getOverrideClickThroughUrl()
null for nonepublic AdBlockingConfiguration setOverrideClickThroughUrl(java.lang.Boolean overrideClickThroughUrl)
overrideClickThroughUrl - overrideClickThroughUrl or null for nonepublic AdBlockingConfiguration set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic AdBlockingConfiguration clone()
clone in class com.google.api.client.json.GenericJson