Reference documentation and code samples for the Google Ads Ad Manager V1 Client 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.
Generated from protobuf message google.ads.admanager.v1.RequestFormatTargeting
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ app_open_enabled |
bool
Optional. Controls app open format targeting. Set to |
↳ rewarded_enabled |
bool
Optional. Controls rewarded format targeting. Set to |
↳ rewarded_interstitial_enabled |
bool
Optional. Controls rewarded interstitial format targeting. Set to |
↳ interstitial_enabled |
bool
Optional. Controls interstitial format targeting. Set to |
↳ anchor_enabled |
bool
Optional. Controls anchor format targeting. Set to |
↳ banner_enabled |
bool
Optional. Controls banner format targeting. Set to |
↳ instream_video_enabled |
bool
Optional. Controls instream video format targeting. Set to |
↳ instream_audio_enabled |
bool
Optional. Controls instream audio format targeting. Set to |
↳ native_advanced_enabled |
bool
Optional. Controls native advanced format targeting. Set to |
getAppOpenEnabled
Optional. Controls app open format targeting. Set to true to include,
false to exclude, or leave unset for neither.
| Returns | |
|---|---|
| Type | Description |
bool |
|
hasAppOpenEnabled
clearAppOpenEnabled
setAppOpenEnabled
Optional. Controls app open format targeting. Set to true to include,
false to exclude, or leave unset for neither.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRewardedEnabled
Optional. Controls rewarded format targeting. Set to true to include,
false to exclude, or leave unset for neither.
| Returns | |
|---|---|
| Type | Description |
bool |
|
hasRewardedEnabled
clearRewardedEnabled
setRewardedEnabled
Optional. Controls rewarded format targeting. Set to true to include,
false to exclude, or leave unset for neither.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRewardedInterstitialEnabled
Optional. Controls rewarded interstitial format targeting. Set to true to
include, false to exclude, or leave unset for neither.
| Returns | |
|---|---|
| Type | Description |
bool |
|
hasRewardedInterstitialEnabled
clearRewardedInterstitialEnabled
setRewardedInterstitialEnabled
Optional. Controls rewarded interstitial format targeting. Set to true to
include, false to exclude, or leave unset for neither.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInterstitialEnabled
Optional. Controls interstitial format targeting. Set to true to include,
false to exclude, or leave unset for neither.
| Returns | |
|---|---|
| Type | Description |
bool |
|
hasInterstitialEnabled
clearInterstitialEnabled
setInterstitialEnabled
Optional. Controls interstitial format targeting. Set to true to include,
false to exclude, or leave unset for neither.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAnchorEnabled
Optional. Controls anchor format targeting. Set to true to include,
false to exclude, or leave unset for neither.
| Returns | |
|---|---|
| Type | Description |
bool |
|
hasAnchorEnabled
clearAnchorEnabled
setAnchorEnabled
Optional. Controls anchor format targeting. Set to true to include,
false to exclude, or leave unset for neither.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getBannerEnabled
Optional. Controls banner format targeting. Set to true to include,
false to exclude, or leave unset for neither.
| Returns | |
|---|---|
| Type | Description |
bool |
|
hasBannerEnabled
clearBannerEnabled
setBannerEnabled
Optional. Controls banner format targeting. Set to true to include,
false to exclude, or leave unset for neither.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInstreamVideoEnabled
Optional. Controls instream video format targeting. Set to true to
include, false to exclude, or leave unset for neither.
| Returns | |
|---|---|
| Type | Description |
bool |
|
hasInstreamVideoEnabled
clearInstreamVideoEnabled
setInstreamVideoEnabled
Optional. Controls instream video format targeting. Set to true to
include, false to exclude, or leave unset for neither.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInstreamAudioEnabled
Optional. Controls instream audio format targeting. Set to true to
include, false to exclude, or leave unset for neither.
| Returns | |
|---|---|
| Type | Description |
bool |
|
hasInstreamAudioEnabled
clearInstreamAudioEnabled
setInstreamAudioEnabled
Optional. Controls instream audio format targeting. Set to true to
include, false to exclude, or leave unset for neither.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNativeAdvancedEnabled
Optional. Controls native advanced format targeting. Set to true to
include, false to exclude, or leave unset for neither.
| Returns | |
|---|---|
| Type | Description |
bool |
|
hasNativeAdvancedEnabled
clearNativeAdvancedEnabled
setNativeAdvancedEnabled
Optional. Controls native advanced format targeting. Set to true to
include, false to exclude, or leave unset for neither.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|