Class CmsMetadataTargeting
Represents targeting for CMS metadata. The values are ORed together.
Implements
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class CmsMetadataTargeting : IMessage<CmsMetadataTargeting>, IEquatable<CmsMetadataTargeting>, IDeepCloneable<CmsMetadataTargeting>, IBufferMessage, IMessage
Constructors
CmsMetadataTargeting()
Declaration
public CmsMetadataTargeting()
CmsMetadataTargeting(CmsMetadataTargeting)
Declaration
public CmsMetadataTargeting(CmsMetadataTargeting other)
Parameters
| Type | Name | Description |
|---|---|---|
| CmsMetadataTargeting | other |
Properties
CmsMetadataValues
Optional. The resource names of the targeted CMS metadata values.
Declaration
public RepeatedField<string> CmsMetadataValues { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<string> |
CmsMetadataValuesAsCmsMetadataValueNames
CmsMetadataValueName-typed view over the CmsMetadataValues resource name property.
Declaration
public ResourceNameList<CmsMetadataValueName> CmsMetadataValuesAsCmsMetadataValueNames { get; }
Property Value
| Type | Description |
|---|---|
| ResourceNameList<CmsMetadataValueName> |
HasNegative
Gets whether the "negative" field is set
Declaration
public bool HasNegative { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Negative
Whether this expression is negatively targeted, meaning it matches ad requests that exclude the below values.
Declaration
public bool Negative { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |