Class AdUnitServiceSettings
Settings for AdUnitServiceClient instances.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class AdUnitServiceSettings : ServiceSettingsBase
Constructors
AdUnitServiceSettings()
Constructs a new AdUnitServiceSettings object with default settings.
Declaration
public AdUnitServiceSettings()
Properties
GetAdUnitSettings
CallSettings for synchronous and asynchronous calls to
AdUnitServiceClient.GetAdUnit
and AdUnitServiceClient.GetAdUnitAsync
.
Declaration
public CallSettings GetAdUnitSettings { get; set; }
Property Value
Type | Description |
---|---|
CallSettings |
Remarks
- This call will not be retried.
- No timeout is applied.
ListAdUnitSizesSettings
CallSettings for synchronous and asynchronous calls to
AdUnitServiceClient.ListAdUnitSizes
and AdUnitServiceClient.ListAdUnitSizesAsync
.
Declaration
public CallSettings ListAdUnitSizesSettings { get; set; }
Property Value
Type | Description |
---|---|
CallSettings |
Remarks
- This call will not be retried.
- No timeout is applied.
ListAdUnitsSettings
CallSettings for synchronous and asynchronous calls to
AdUnitServiceClient.ListAdUnits
and AdUnitServiceClient.ListAdUnitsAsync
.
Declaration
public CallSettings ListAdUnitsSettings { get; set; }
Property Value
Type | Description |
---|---|
CallSettings |
Remarks
- This call will not be retried.
- No timeout is applied.
Methods
Clone()
Creates a deep clone of this object, with all the same property values.
Declaration
public AdUnitServiceSettings Clone()
Returns
Type | Description |
---|---|
AdUnitServiceSettings | A deep clone of this AdUnitServiceSettings object. |
GetDefault()
Get a new instance of the default AdUnitServiceSettings.
Declaration
public static AdUnitServiceSettings GetDefault()
Returns
Type | Description |
---|---|
AdUnitServiceSettings | A new instance of the default AdUnitServiceSettings. |