AdSize

Represents size of a single ad slot, or a creative.

JSON representation
{
  "width": string,
  "height": string,
  "type": enum (Type)
}
Fields
width

string (int64 format)

The width of the ad slot in pixels. This field will be present only when size type is PIXEL.

height

string (int64 format)

The height of the ad slot in pixels. This field will be present only when size type is PIXEL.

type

enum (Type)

The type of the ad slot size.

Type

Represents different types of ad slot/creative sizing.

Enums
TYPE_UNSPECIFIED A placeholder for an undefined size type.
PIXEL Ad slot with size specified by height and width in pixels.
INTERSTITIAL Special size to describe an interstitial ad slot.
NATIVE Native (mobile) ads rendered by the publisher.
FLUID Fluid size (responsive size) can be resized automatically with the change of outside environment.