public final class CampaignReportSpec
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 |
|---|
CampaignReportSpec() |
| Modifier and Type | Method and Description |
|---|---|
CampaignReportSpec |
clone() |
DateRange |
getDateRange()
The date range for which the report is generated.
|
List<String> |
getDimensions()
List of dimensions of the report.
|
String |
getLanguageCode()
Language used for any localized text, such as certain applicable dimension values.
|
List<String> |
getMetrics()
List of metrics of the report.
|
CampaignReportSpec |
set(String fieldName,
Object value) |
CampaignReportSpec |
setDateRange(DateRange dateRange)
The date range for which the report is generated.
|
CampaignReportSpec |
setDimensions(List<String> dimensions)
List of dimensions of the report.
|
CampaignReportSpec |
setLanguageCode(String languageCode)
Language used for any localized text, such as certain applicable dimension values.
|
CampaignReportSpec |
setMetrics(List<String> metrics)
List of metrics of the report.
|
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 DateRange getDateRange()
null for nonepublic CampaignReportSpec setDateRange(DateRange dateRange)
dateRange - dateRange or null for nonepublic List<String> getDimensions()
null for nonepublic CampaignReportSpec setDimensions(List<String> dimensions)
dimensions - dimensions or null for nonepublic String getLanguageCode()
null for nonepublic CampaignReportSpec setLanguageCode(String languageCode)
languageCode - languageCode or null for nonepublic List<String> getMetrics()
null for nonepublic CampaignReportSpec setMetrics(List<String> metrics)
metrics - metrics or null for nonepublic CampaignReportSpec set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic CampaignReportSpec clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.