Show / Hide Table of Contents

Class AdUnitTargeting

Specifies an ad unit and (optionally) its descendants.

Inheritance
object
AdUnitTargeting
Implements
IMessage<AdUnitTargeting>
IEquatable<AdUnitTargeting>
IDeepCloneable<AdUnitTargeting>
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 AdUnitTargeting : IMessage<AdUnitTargeting>, IEquatable<AdUnitTargeting>, IDeepCloneable<AdUnitTargeting>, IBufferMessage, IMessage

Constructors

AdUnitTargeting()

Declaration
public AdUnitTargeting()

AdUnitTargeting(AdUnitTargeting)

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

Properties

AdUnit

Optional. The resource name of this ad unit.

Declaration
public string AdUnit { get; set; }
Property Value
Type Description
string

AdUnitAsAdUnitName

AdUnitName-typed view over the AdUnit resource name property.

Declaration
public AdUnitName AdUnitAsAdUnitName { get; set; }
Property Value
Type Description
AdUnitName

HasAdUnit

Gets whether the "ad_unit" field is set

Declaration
public bool HasAdUnit { get; }
Property Value
Type Description
bool

HasIncludeDescendants

Gets whether the "include_descendants" field is set

Declaration
public bool HasIncludeDescendants { get; }
Property Value
Type Description
bool

IncludeDescendants

Whether this ad unit's children should be targeted/excluded as well.

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