dimension property

String? dimension
getter/setter pair

Applies the filter criterion to the specified dimension. Possible string values are:

  • "DIMENSION_UNSPECIFIED" : Default value for an unset field. Do not use.
  • "DATE" : A date in the YYYYMMDD format (for example, "20210701"). Requests can specify at most one time dimension.
  • "MONTH" : A month in the YYYYMM format (for example, "202107"). Requests can specify at most one time dimension.
  • "WEEK" : The date of the first day of a week in the YYYYMMDD format (for example, "20210701"). Requests can specify at most one time dimension.
  • "AD_SOURCE" : The [unique ID of the ad source](/admob/api/v1/ad_sources) (for example, "5450213213286189855" and "AdMob Network" as label value).
  • "AD_SOURCE_INSTANCE" : The unique ID of the ad source instance (for example, "ca-app-pub-1234:asi:5678" and "AdMob (default)" as label value).
  • "AD_UNIT" : The unique ID of the ad unit (for example, "ca-app-pub-1234/8790"). If AD_UNIT dimension is specified, then APP is included automatically.
  • "APP" : The unique ID of the mobile application (for example, "ca-app-pub-1234~1234").
  • "MEDIATION_GROUP" : The unique ID of the mediation group (for example, "ca-app-pub-1234:mg:1234" and "AdMob (default)" as label value).
  • "COUNTRY" : CLDR country code of the place where the ad views/clicks occur (for example, "US" or "FR"). This is a geography dimension.
  • "FORMAT" : Format of the ad unit (for example, "banner", "native"), an ad delivery dimension.
  • "PLATFORM" : Mobile OS platform of the app (for example, "Android" or "iOS").
  • "MOBILE_OS_VERSION" : Mobile operating system version, e.g. "iOS 13.5.1".
  • "GMA_SDK_VERSION" : GMA SDK version, e.g. "iOS 7.62.0".
  • "APP_VERSION_NAME" : For Android, the app version name can be found in versionName in PackageInfo. For iOS, the app version name can be found in CFBundleShortVersionString.
  • "SERVING_RESTRICTION" : Restriction mode for ads serving (e.g. "Non-personalized ads").

Implementation

core.String? dimension;