Environment

  • By default, environment targeting is unspecified; to target specific environments, use the provided options.

  • For web inventory, you can target either optimized (designed for the device) or non-optimized (not designed for the device) environments.

  • To target inventory displayed within apps, use the ENVIRONMENT_APP option.

  • Before deleting ENVIRONMENT_WEB_OPTIMIZED, ensure ENVIRONMENT_WEB_NOT_OPTIMIZED is removed first; conversely, target ENVIRONMENT_WEB_OPTIMIZED before adding ENVIRONMENT_WEB_NOT_OPTIMIZED.

Possible environment targeting options.

Enums
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.