Class AdUnitParent
The summary of a parent AdUnit.
Implements
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class AdUnitParent : IMessage<AdUnitParent>, IEquatable<AdUnitParent>, IDeepCloneable<AdUnitParent>, IBufferMessage, IMessage
Constructors
AdUnitParent()
Declaration
public AdUnitParent()
AdUnitParent(AdUnitParent)
Declaration
public AdUnitParent(AdUnitParent other)
Parameters
| Type | Name | Description |
|---|---|---|
| AdUnitParent | other |
Properties
AdUnitCode
Output only. A string used to uniquely identify the ad unit for the purposes of serving the ad.
Declaration
public string AdUnitCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DisplayName
Output only. The display name of the parent AdUnit.
Declaration
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HasAdUnitCode
Gets whether the "ad_unit_code" field is set
Declaration
public bool HasAdUnitCode { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasDisplayName
Gets whether the "display_name" field is set
Declaration
public bool HasDisplayName { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasParentAdUnit
Gets whether the "parent_ad_unit" field is set
Declaration
public bool HasParentAdUnit { get; }
Property Value
| Type | Description |
|---|---|
| bool |
ParentAdUnit
Output only. The parent of the current AdUnit
Format: networks/{network_code}/adUnits/{ad_unit_id}
Declaration
public string ParentAdUnit { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ParentAdUnitAsAdUnitName
AdUnitName-typed view over the ParentAdUnit resource name property.
Declaration
public AdUnitName ParentAdUnitAsAdUnitName { get; set; }
Property Value
| Type | Description |
|---|---|
| AdUnitName |