Show / Hide Table of Contents

Class Size

Represents the dimensions of an AdUnit, LineItem, or Creative.

Inheritance
object
Size
Implements
IMessage<Size>
IEquatable<Size>
IDeepCloneable<Size>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class Size : IMessage<Size>, IEquatable<Size>, IDeepCloneable<Size>, IBufferMessage, IMessage

Constructors

Size()

Declaration
public Size()

Size(Size)

Declaration
public Size(Size other)
Parameters
Type Name Description
Size other

Properties

Height

Required. The height of the Creative, AdUnit, or LineItem.

Declaration
public int Height { get; set; }
Property Value
Type Description
int

SizeType

Required. The SizeType of the Creative, AdUnit, or LineItem.

Declaration
public SizeTypeEnum.Types.SizeType SizeType { get; set; }
Property Value
Type Description
SizeTypeEnum.Types.SizeType

Width

Required. The width of the Creative, AdUnit, or LineItem.

Declaration
public int Width { get; set; }
Property Value
Type Description
int
In this article
Back to top Generated by DocFX