Google Ads Ad Manager V1 Client - Class BatchApplyAdReviewCenterCustomLabelsRequest (0.15.0)

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

Request object for BatchApplyAdReviewCenterCustomLabels method.

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

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent, which owns this collection of AdReviewCenterAds. Format: networks/{network_code}/webProperties/{web_property_code} Since a network can only have a single web property of each ExchangeSyndicationProduct, you can use the ExchangeSyndicationProduct as an alias for the web property code: networks/{network_code}/webProperties/display networks/{network_code}/webProperties/videoAndAudio networks/{network_code}/webProperties/mobileApp networks/{network_code}/webProperties/games

↳ add_labels BatchApplyAdReviewCenterCustomLabelsRequest\BatchLabelAction

Optional. Labels to add to the specified ads.

↳ remove_labels BatchApplyAdReviewCenterCustomLabelsRequest\BatchLabelAction

Optional. Labels to remove from the specified ads.

getParent

Required. The parent, which owns this collection of AdReviewCenterAds.

Format: networks/{network_code}/webProperties/{web_property_code} Since a network can only have a single web property of each ExchangeSyndicationProduct, you can use the ExchangeSyndicationProduct as an alias for the web property code: networks/{network_code}/webProperties/display networks/{network_code}/webProperties/videoAndAudio networks/{network_code}/webProperties/mobileApp networks/{network_code}/webProperties/games

Returns
Type Description
string

setParent

Required. The parent, which owns this collection of AdReviewCenterAds.

Format: networks/{network_code}/webProperties/{web_property_code} Since a network can only have a single web property of each ExchangeSyndicationProduct, you can use the ExchangeSyndicationProduct as an alias for the web property code: networks/{network_code}/webProperties/display networks/{network_code}/webProperties/videoAndAudio networks/{network_code}/webProperties/mobileApp networks/{network_code}/webProperties/games

Parameter
Name Description
var string
Returns
Type Description
$this

getAddLabels

Optional. Labels to add to the specified ads.

Returns
Type Description
BatchApplyAdReviewCenterCustomLabelsRequest\BatchLabelAction|null

hasAddLabels

clearAddLabels

setAddLabels

Optional. Labels to add to the specified ads.

Parameter
Name Description
var BatchApplyAdReviewCenterCustomLabelsRequest\BatchLabelAction
Returns
Type Description
$this

getRemoveLabels

Optional. Labels to remove from the specified ads.

Returns
Type Description
BatchApplyAdReviewCenterCustomLabelsRequest\BatchLabelAction|null

hasRemoveLabels

clearRemoveLabels

setRemoveLabels

Optional. Labels to remove from the specified ads.

Parameter
Name Description
var BatchApplyAdReviewCenterCustomLabelsRequest\BatchLabelAction
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. The parent, which owns this collection of AdReviewCenterAds. Format: networks/{network_code}/webProperties/{web_property_code}

Since a network can only have a single web property of each ExchangeSyndicationProduct, you can use the ExchangeSyndicationProduct as an alias for the web property code:

networks/{network_code}/webProperties/display

networks/{network_code}/webProperties/videoAndAudio

networks/{network_code}/webProperties/mobileApp

networks/{network_code}/webProperties/games Please see AdReviewCenterAdServiceClient::webPropertyName() for help formatting this field.

Returns
Type Description
BatchApplyAdReviewCenterCustomLabelsRequest