AdUnitSize

Represents the size, environment, and companions of an ad in an ad unit.

JSON representation
{
  "companions": [
    {
      object (Size)
    }
  ],
  "size": {
    object (Size)
  },
  "environmentType": enum (EnvironmentType)
}
Fields
companions[]

object (Size)

The companions for this ad unit size. Companions are only valid if the environment is VIDEO_PLAYER.

size

object (Size)

Required. The Size of the AdUnit.

environmentType

enum (EnvironmentType)

Required. The EnvironmentType of the AdUnit

EnvironmentType

The different environments in which an ad can be shown.

Enums
ENVIRONMENT_TYPE_UNSPECIFIED No value specified
BROWSER A regular web browser.
VIDEO_PLAYER Video players.