public final class AdPolicyCriterionRestriction
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 |
|---|
AdPolicyCriterionRestriction() |
| Modifier and Type | Method and Description |
|---|---|
AdPolicyCriterionRestriction |
clone() |
Long |
getCountryCriterionId()
The country criterion id.
|
String |
getCountryLabel()
Localized name for the country.
|
AdPolicyCriterionRestriction |
set(String fieldName,
Object value) |
AdPolicyCriterionRestriction |
setCountryCriterionId(Long countryCriterionId)
The country criterion id.
|
AdPolicyCriterionRestriction |
setCountryLabel(String countryLabel)
Localized name for the country.
|
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 getCountryCriterionId()
null for nonepublic AdPolicyCriterionRestriction setCountryCriterionId(Long countryCriterionId)
countryCriterionId - countryCriterionId or null for nonepublic String getCountryLabel()
null for nonepublic AdPolicyCriterionRestriction setCountryLabel(String countryLabel)
countryLabel - countryLabel or null for nonepublic AdPolicyCriterionRestriction set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic AdPolicyCriterionRestriction clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.