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

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

Represents a web property.

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

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 WebProperty. Format: networks/{network_code}/webProperties/{web_property_code}

↳ web_property_code string

Required. The WebProperty code.

↳ product_type int

Required. The ExchangeSyndicationProduct associated with this WebProperty.

↳ web_property_id int|string

Optional. The WebProperty ID.

getName

Identifier. The resource name of the WebProperty.

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

Returns
Type Description
string

setName

Identifier. The resource name of the WebProperty.

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

Parameter
Name Description
var string
Returns
Type Description
$this

getWebPropertyCode

Required. The WebProperty code.

Returns
Type Description
string

setWebPropertyCode

Required. The WebProperty code.

Parameter
Name Description
var string
Returns
Type Description
$this

getProductType

Required. The ExchangeSyndicationProduct associated with this WebProperty.

Returns
Type Description
int Enum of type ExchangeSyndicationProduct.

setProductType

Required. The ExchangeSyndicationProduct associated with this WebProperty.

Parameter
Name Description
var int

Enum of type ExchangeSyndicationProduct.

Returns
Type Description
$this

getWebPropertyId

Optional. The WebProperty ID.

Returns
Type Description
int|string

setWebPropertyId

Optional. The WebProperty ID.

Parameter
Name Description
var int|string
Returns
Type Description
$this