public final class AdUnitMapping
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 AdMob 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 |
|---|
AdUnitMapping() |
| Modifier and Type | Method and Description |
|---|---|
AdUnitMapping |
clone() |
Long |
getAdapterId()
The ID of mediation ad source adapter used by this ad unit mapping.
|
Map<String,String> |
getAdUnitConfigurations()
Settings for the specified ad unit to make an ad request to 3rd party ad network.
|
String |
getDisplayName()
Optional.
|
String |
getName()
Resource name of this ad unit mapping.
|
String |
getState()
Output only.
|
AdUnitMapping |
set(String fieldName,
Object value) |
AdUnitMapping |
setAdapterId(Long adapterId)
The ID of mediation ad source adapter used by this ad unit mapping.
|
AdUnitMapping |
setAdUnitConfigurations(Map<String,String> adUnitConfigurations)
Settings for the specified ad unit to make an ad request to 3rd party ad network.
|
AdUnitMapping |
setDisplayName(String displayName)
Optional.
|
AdUnitMapping |
setName(String name)
Resource name of this ad unit mapping.
|
AdUnitMapping |
setState(String state)
Output only.
|
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 Map<String,String> getAdUnitConfigurations()
null for nonepublic AdUnitMapping setAdUnitConfigurations(Map<String,String> adUnitConfigurations)
adUnitConfigurations - adUnitConfigurations or null for nonepublic Long getAdapterId()
null for nonepublic AdUnitMapping setAdapterId(Long adapterId)
adapterId - adapterId or null for nonepublic String getDisplayName()
null for nonepublic AdUnitMapping setDisplayName(String displayName)
displayName - displayName or null for nonepublic String getName()
null for nonepublic AdUnitMapping setName(String name)
name - name or null for nonepublic String getState()
null for nonepublic AdUnitMapping setState(String state)
state - state or null for nonepublic AdUnitMapping set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic AdUnitMapping clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.