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