public final class CustomViewabilityMetricConfiguration
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 |
---|
CustomViewabilityMetricConfiguration() |
Modifier and Type | Method and Description |
---|---|
CustomViewabilityMetricConfiguration |
clone() |
Boolean |
getAudible()
Whether the video must be audible to count an impression.
|
Integer |
getTimeMillis()
The time in milliseconds the video must play for the Custom Viewability Metric to count an
impression.
|
Integer |
getTimePercent()
The percentage of video that must play for the Custom Viewability Metric to count an
impression.
|
Integer |
getViewabilityPercent()
The percentage of video that must be on screen for the Custom Viewability Metric to count an
impression.
|
CustomViewabilityMetricConfiguration |
set(String fieldName,
Object value) |
CustomViewabilityMetricConfiguration |
setAudible(Boolean audible)
Whether the video must be audible to count an impression.
|
CustomViewabilityMetricConfiguration |
setTimeMillis(Integer timeMillis)
The time in milliseconds the video must play for the Custom Viewability Metric to count an
impression.
|
CustomViewabilityMetricConfiguration |
setTimePercent(Integer timePercent)
The percentage of video that must play for the Custom Viewability Metric to count an
impression.
|
CustomViewabilityMetricConfiguration |
setViewabilityPercent(Integer viewabilityPercent)
The percentage of video that must be on screen for the Custom Viewability Metric to count an
impression.
|
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 CustomViewabilityMetricConfiguration()
public Boolean getAudible()
null
for nonepublic CustomViewabilityMetricConfiguration setAudible(Boolean audible)
audible
- audible or null
for nonepublic Integer getTimeMillis()
null
for nonepublic CustomViewabilityMetricConfiguration setTimeMillis(Integer timeMillis)
timeMillis
- timeMillis or null
for nonepublic Integer getTimePercent()
null
for nonepublic CustomViewabilityMetricConfiguration setTimePercent(Integer timePercent)
timePercent
- timePercent or null
for nonepublic Integer getViewabilityPercent()
null
for nonepublic CustomViewabilityMetricConfiguration setViewabilityPercent(Integer viewabilityPercent)
viewabilityPercent
- viewabilityPercent or null
for nonepublic CustomViewabilityMetricConfiguration set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public CustomViewabilityMetricConfiguration clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.