public final class MediationGroupTargeting
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 |
|---|
MediationGroupTargeting() |
| Modifier and Type | Method and Description |
|---|---|
MediationGroupTargeting |
clone() |
List<String> |
getAdUnitIds()
Ad units targeted by this mediation group.
|
List<String> |
getExcludedRegionCodes()
The Unicode country/region code (CLDR) of a location, such as "US".
|
String |
getFormat()
Ad format targeted by this mediation group.
|
String |
getIdfaTargeting()
The parameter can be used to target ad requests based on the availability of the IDFA.
|
String |
getPlatform()
Describes the platform of the app.
|
List<String> |
getTargetedRegionCodes()
The Unicode country/region code (CLDR) of a location, such as "US".
|
MediationGroupTargeting |
set(String fieldName,
Object value) |
MediationGroupTargeting |
setAdUnitIds(List<String> adUnitIds)
Ad units targeted by this mediation group.
|
MediationGroupTargeting |
setExcludedRegionCodes(List<String> excludedRegionCodes)
The Unicode country/region code (CLDR) of a location, such as "US".
|
MediationGroupTargeting |
setFormat(String format)
Ad format targeted by this mediation group.
|
MediationGroupTargeting |
setIdfaTargeting(String idfaTargeting)
The parameter can be used to target ad requests based on the availability of the IDFA.
|
MediationGroupTargeting |
setPlatform(String platform)
Describes the platform of the app.
|
MediationGroupTargeting |
setTargetedRegionCodes(List<String> targetedRegionCodes)
The Unicode country/region code (CLDR) of a location, such as "US".
|
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 List<String> getAdUnitIds()
null for nonepublic MediationGroupTargeting setAdUnitIds(List<String> adUnitIds)
adUnitIds - adUnitIds or null for nonepublic List<String> getExcludedRegionCodes()
null for nonepublic MediationGroupTargeting setExcludedRegionCodes(List<String> excludedRegionCodes)
excludedRegionCodes - excludedRegionCodes or null for nonepublic String getFormat()
null for nonepublic MediationGroupTargeting setFormat(String format)
format - format or null for nonepublic String getIdfaTargeting()
null for nonepublic MediationGroupTargeting setIdfaTargeting(String idfaTargeting)
idfaTargeting - idfaTargeting or null for nonepublic String getPlatform()
null for nonepublic MediationGroupTargeting setPlatform(String platform)
platform - platform or null for nonepublic List<String> getTargetedRegionCodes()
null for nonepublic MediationGroupTargeting setTargetedRegionCodes(List<String> targetedRegionCodes)
targetedRegionCodes - targetedRegionCodes or null for nonepublic MediationGroupTargeting set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic MediationGroupTargeting clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.