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

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
array

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

↳ excluded_content
array

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

↳ targeted_content_bundles
array

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

↳ excluded_content_bundles
array

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

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

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

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

setExcludedContentBundles

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

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: