AdsApp.​MediaDimensions

Dimensions for different sizes of a media object.

Methods:

MemberTypeDescription
getFullDimensions AdsApp.Dimensions Returns dimensions for the full size of the media object.
getPreviewDimensions AdsApp.Dimensions Returns dimensions for the preview size of the media object.
getShrunkenDimensions AdsApp.Dimensions Returns dimensions for the shrunken size of the media object.
getVideoThumbnailDimensions AdsApp.Dimensions Returns dimensions for the video thumbnail size of the media object.

getFullDimensions()

Returns dimensions for the full size of the media object.

Return values:

TypeDescription
AdsApp.Dimensions The full dimensions.

getPreviewDimensions()

Returns dimensions for the preview size of the media object.

Return values:

TypeDescription
AdsApp.Dimensions The preview dimensions.

getShrunkenDimensions()

Returns dimensions for the shrunken size of the media object.

Return values:

TypeDescription
AdsApp.Dimensions The shrunken dimensions.

getVideoThumbnailDimensions()

Returns dimensions for the video thumbnail size of the media object.

Return values:

TypeDescription
AdsApp.Dimensions The video thumbnail dimensions.