public final class TargetFrequency
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 Display & Video 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 |
|---|
TargetFrequency() |
| Modifier and Type | Method and Description |
|---|---|
TargetFrequency |
clone() |
Long |
getTargetCount()
The target number of times, on average, the ads will be shown to the same person in the
timespan dictated by time_unit and time_unit_count.
|
String |
getTimeUnit()
The unit of time in which the target frequency will be applied.
|
Integer |
getTimeUnitCount()
The number of time_unit the target frequency will last.
|
TargetFrequency |
set(String fieldName,
Object value) |
TargetFrequency |
setTargetCount(Long targetCount)
The target number of times, on average, the ads will be shown to the same person in the
timespan dictated by time_unit and time_unit_count.
|
TargetFrequency |
setTimeUnit(String timeUnit)
The unit of time in which the target frequency will be applied.
|
TargetFrequency |
setTimeUnitCount(Integer timeUnitCount)
The number of time_unit the target frequency will last.
|
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 getTargetCount()
null for nonepublic TargetFrequency setTargetCount(Long targetCount)
targetCount - targetCount or null for nonepublic String getTimeUnit()
null for nonepublic TargetFrequency setTimeUnit(String timeUnit)
timeUnit - timeUnit or null for nonepublic Integer getTimeUnitCount()
null for nonepublic TargetFrequency setTimeUnitCount(Integer timeUnitCount)
timeUnitCount - timeUnitCount or null for nonepublic TargetFrequency set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic TargetFrequency clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.