Class ContextualTargeting
Contextual Targeting
Implements
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class ContextualTargeting : IMessage<ContextualTargeting>, IEquatable<ContextualTargeting>, IDeepCloneable<ContextualTargeting>, IBufferMessage, IMessage
Constructors
ContextualTargeting()
Declaration
public ContextualTargeting()
ContextualTargeting(ContextualTargeting)
Declaration
public ContextualTargeting(ContextualTargeting other)
Parameters
| Type | Name | Description |
|---|---|---|
| ContextualTargeting | other |
Properties
ExcludedContentLabels
Optional. A list of content labels that should be excluded.
Declaration
public RepeatedField<string> ExcludedContentLabels { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<string> |
ExcludedContentLabelsAsContentLabelNames
ContentLabelName-typed view over the ExcludedContentLabels resource name property.
Declaration
public ResourceNameList<ContentLabelName> ExcludedContentLabelsAsContentLabelNames { get; }
Property Value
| Type | Description |
|---|---|
| ResourceNameList<ContentLabelName> |
ExcludedVerticals
Optional. A list of verticals that should be excluded. Verticals are
AdCategory resources of type VERTICAL. Format:
networks/{network_code}/adCategories/{ad_category_id}
Declaration
public RepeatedField<string> ExcludedVerticals { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<string> |
ExcludedVerticalsAsAdCategoryNames
AdCategoryName-typed view over the ExcludedVerticals resource name property.
Declaration
public ResourceNameList<AdCategoryName> ExcludedVerticalsAsAdCategoryNames { get; }
Property Value
| Type | Description |
|---|---|
| ResourceNameList<AdCategoryName> |
TargetedVerticals
Optional. A list of verticals that should be targeted/included. Verticals
are AdCategory resources of type VERTICAL. Format:
networks/{network_code}/adCategories/{ad_category_id}
Declaration
public RepeatedField<string> TargetedVerticals { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<string> |
TargetedVerticalsAsAdCategoryNames
AdCategoryName-typed view over the TargetedVerticals resource name property.
Declaration
public ResourceNameList<AdCategoryName> TargetedVerticalsAsAdCategoryNames { get; }
Property Value
| Type | Description |
|---|---|
| ResourceNameList<AdCategoryName> |