Class Size
Represents the dimensions of an AdUnit, LineItem, or Creative.
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][google.ads.admanager.v1.AdUnit], or LineItem.
Declaration
public int Height { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
SizeType
Required. The SizeType of the Creative, [AdUnit][google.ads.admanager.v1.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][google.ads.admanager.v1.AdUnit], or LineItem.
Declaration
public int Width { get; set; }
Property Value
| Type | Description |
|---|---|
| int |