Google Ads Ad Manager V1 Client - Class ContentTargeting (0.6.2)

Reference documentation and code samples for the Google Ads Ad Manager V1 Client class ContentTargeting.

Content Targeting Targeted/excluded content entities and bundles.

Generated from protobuf message google.ads.admanager.v1.ContentTargeting

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ targeted_content string[]

Optional. The resource names of the Content that should be targeted/included.

↳ excluded_content string[]

Optional. The resource names of the Content that should be excluded.

↳ targeted_content_bundles string[]

Optional. The resource names of the ContentBundles that should be targeted/included.

↳ excluded_content_bundles string[]

Optional. The resource names of the ContentBundles that should be excluded.

getTargetedContent

Optional. The resource names of the Content that should be targeted/included.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setTargetedContent

Optional. The resource names of the Content that should be targeted/included.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getExcludedContent

Optional. The resource names of the Content that should be excluded.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setExcludedContent

Optional. The resource names of the Content that should be excluded.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getTargetedContentBundles

Optional. The resource names of the ContentBundles that should be targeted/included.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setTargetedContentBundles

Optional. The resource names of the ContentBundles that should be targeted/included.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getExcludedContentBundles

Optional. The resource names of the ContentBundles that should be excluded.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setExcludedContentBundles

Optional. The resource names of the ContentBundles that should be excluded.

Parameter
Name Description
var string[]
Returns
Type Description
$this