Reference documentation and code samples for the Google Ads Ad Manager V1 Client class AdUnitTargeting.
Specifies an ad unit and (optionally) its descendants.
Generated from protobuf message google.ads.admanager.v1.AdUnitTargeting
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ include_descendants
bool
Whether this ad unit's children should be targeted/excluded as well.
↳ ad_unit
string
Optional. The resource name of this ad unit.
getIncludeDescendants
Whether this ad unit's children should be targeted/excluded as well.
bool
hasIncludeDescendants
clearIncludeDescendants
setIncludeDescendants
Whether this ad unit's children should be targeted/excluded as well.
var
bool
$this
getAdUnit
Optional. The resource name of this ad unit.
string
hasAdUnit
clearAdUnit
setAdUnit
Optional. The resource name of this ad unit.
var
string
$this