environment property

String? environment
getter/setter pair

The serving environment.

Output only. Possible string values are:

  • "ENVIRONMENT_UNSPECIFIED" : Default value when environment is not specified in this version. This enum is a placeholder for default value and does not represent a real environment option.
  • "ENVIRONMENT_WEB_OPTIMIZED" : Target inventory displayed in browsers. This includes inventory that was designed for the device it was viewed on, such as mobile websites viewed on a mobile device. ENVIRONMENT_WEB_NOT_OPTIMIZED, if targeted, should be deleted prior to the deletion of this targeting option.
  • "ENVIRONMENT_WEB_NOT_OPTIMIZED" : Target inventory displayed in browsers. This includes inventory that was not designed for the device but viewed on it, such as websites optimized for desktop but viewed on a mobile device. ENVIRONMENT_WEB_OPTIMIZED should be targeted prior to the addition of this targeting option.
  • "ENVIRONMENT_APP" : Target inventory displayed in apps.

Implementation

core.String? environment;