Google Ads Ad Manager V1 Client - Class AdReviewCenterAd (0.5.0)

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

Represents an ad that can be acted on or viewed in the Ad Review Center.

AdReviewCenterAd.

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

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Identifier. The resource name of the AdReviewCenterAd. Format: networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad_id}

↳ ad_review_center_ad_id string

Output only. AdReviewCenterAd ID.

↳ product_type int

Output only. Specifies the ExchangeSyndicationProduct for this AdReviewCenterAd.

↳ status int

The status of the AdReviewCenterAd.

↳ preview_url string

Output only. The preview URL that can be embedded or accessed directly which will present the rendered contents of the ad. (This URL expires 72 hours after being retrieved.).

getName

Identifier. The resource name of the AdReviewCenterAd.

Format: networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad_id}

Returns
Type Description
string

setName

Identifier. The resource name of the AdReviewCenterAd.

Format: networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getAdReviewCenterAdId

Output only. AdReviewCenterAd ID.

Returns
Type Description
string

setAdReviewCenterAdId

Output only. AdReviewCenterAd ID.

Parameter
Name Description
var string
Returns
Type Description
$this

getProductType

Output only. Specifies the ExchangeSyndicationProduct for this AdReviewCenterAd.

Returns
Type Description
int Enum of type ExchangeSyndicationProduct.

setProductType

Output only. Specifies the ExchangeSyndicationProduct for this AdReviewCenterAd.

Parameter
Name Description
var int

Enum of type ExchangeSyndicationProduct.

Returns
Type Description
$this

getStatus

The status of the AdReviewCenterAd.

Returns
Type Description
int Enum of type AdReviewCenterAdStatus.

setStatus

The status of the AdReviewCenterAd.

Parameter
Name Description
var int

Enum of type AdReviewCenterAdStatus.

Returns
Type Description
$this

getPreviewUrl

Output only. The preview URL that can be embedded or accessed directly which will present the rendered contents of the ad. (This URL expires 72 hours after being retrieved.).

Returns
Type Description
string

hasPreviewUrl

clearPreviewUrl

setPreviewUrl

Output only. The preview URL that can be embedded or accessed directly which will present the rendered contents of the ad. (This URL expires 72 hours after being retrieved.).

Parameter
Name Description
var string
Returns
Type Description
$this