Class RequestFormatTargeting
Request Format Targeting
This message specifies inclusion or exclusion of various request formats for targeting. Each optional boolean field controls the targeting of a specific request format:
- If set to
true, the corresponding format is included in targeting. - If set to
false, the corresponding format is excluded from targeting. - If unset, the format is neither explicitly included nor excluded.
Implements
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class RequestFormatTargeting : IMessage<RequestFormatTargeting>, IEquatable<RequestFormatTargeting>, IDeepCloneable<RequestFormatTargeting>, IBufferMessage, IMessage
Constructors
RequestFormatTargeting()
Declaration
public RequestFormatTargeting()
RequestFormatTargeting(RequestFormatTargeting)
Declaration
public RequestFormatTargeting(RequestFormatTargeting other)
Parameters
| Type | Name | Description |
|---|---|---|
| RequestFormatTargeting | other |
Properties
AnchorEnabled
Optional. Controls anchor format targeting. Set to true to include,
false to exclude, or leave unset for neither.
Declaration
public bool AnchorEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
AppOpenEnabled
Optional. Controls app open format targeting. Set to true to include,
false to exclude, or leave unset for neither.
Declaration
public bool AppOpenEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
BannerEnabled
Optional. Controls banner format targeting. Set to true to include,
false to exclude, or leave unset for neither.
Declaration
public bool BannerEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
HasAnchorEnabled
Gets whether the "anchor_enabled" field is set
Declaration
public bool HasAnchorEnabled { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasAppOpenEnabled
Gets whether the "app_open_enabled" field is set
Declaration
public bool HasAppOpenEnabled { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasBannerEnabled
Gets whether the "banner_enabled" field is set
Declaration
public bool HasBannerEnabled { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasInstreamAudioEnabled
Gets whether the "instream_audio_enabled" field is set
Declaration
public bool HasInstreamAudioEnabled { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasInstreamVideoEnabled
Gets whether the "instream_video_enabled" field is set
Declaration
public bool HasInstreamVideoEnabled { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasInterstitialEnabled
Gets whether the "interstitial_enabled" field is set
Declaration
public bool HasInterstitialEnabled { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasNativeAdvancedEnabled
Gets whether the "native_advanced_enabled" field is set
Declaration
public bool HasNativeAdvancedEnabled { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasRewardedEnabled
Gets whether the "rewarded_enabled" field is set
Declaration
public bool HasRewardedEnabled { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasRewardedInterstitialEnabled
Gets whether the "rewarded_interstitial_enabled" field is set
Declaration
public bool HasRewardedInterstitialEnabled { get; }
Property Value
| Type | Description |
|---|---|
| bool |
InstreamAudioEnabled
Optional. Controls instream audio format targeting. Set to true to
include, false to exclude, or leave unset for neither.
Declaration
public bool InstreamAudioEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
InstreamVideoEnabled
Optional. Controls instream video format targeting. Set to true to
include, false to exclude, or leave unset for neither.
Declaration
public bool InstreamVideoEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
InterstitialEnabled
Optional. Controls interstitial format targeting. Set to true to include,
false to exclude, or leave unset for neither.
Declaration
public bool InterstitialEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
NativeAdvancedEnabled
Optional. Controls native advanced format targeting. Set to true to
include, false to exclude, or leave unset for neither.
Declaration
public bool NativeAdvancedEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
RewardedEnabled
Optional. Controls rewarded format targeting. Set to true to include,
false to exclude, or leave unset for neither.
Declaration
public bool RewardedEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
RewardedInterstitialEnabled
Optional. Controls rewarded interstitial format targeting. Set to true to
include, false to exclude, or leave unset for neither.
Declaration
public bool RewardedInterstitialEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |