Google Ads Ad Manager V1 Client - Class Network (0.1.0)

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

The Network resource.

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

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

↳ display_name string

Optional. Display name for Network.

↳ network_code string

Output only. Network Code.

↳ property_code string

Output only. Property code.

↳ time_zone string

Output only. Time zone associated with the delivery of orders and reporting.

↳ currency_code string

Output only. Primary currency code, in ISO-4217 format.

↳ secondary_currency_codes array

Optional. Currency codes that can be used as an alternative to the primary currency code for trafficking Line Items.

↳ effective_root_ad_unit string

Output only. Top most Ad Unit to which descendant Ad Units can be added. Format: networks/{network_code}/adUnit/{ad_unit_id}

↳ test_network bool

Output only. Whether this is a test network.

↳ network_id int|string

Output only. Network ID.

getName

Identifier. The resource name of the Network.

Format: networks/{network_code}

Returns
Type Description
string

setName

Identifier. The resource name of the Network.

Format: networks/{network_code}

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

Optional. Display name for Network.

Returns
Type Description
string

setDisplayName

Optional. Display name for Network.

Parameter
Name Description
var string
Returns
Type Description
$this

getNetworkCode

Output only. Network Code.

Returns
Type Description
string

setNetworkCode

Output only. Network Code.

Parameter
Name Description
var string
Returns
Type Description
$this

getPropertyCode

Output only. Property code.

Returns
Type Description
string

setPropertyCode

Output only. Property code.

Parameter
Name Description
var string
Returns
Type Description
$this

getTimeZone

Output only. Time zone associated with the delivery of orders and reporting.

Returns
Type Description
string

setTimeZone

Output only. Time zone associated with the delivery of orders and reporting.

Parameter
Name Description
var string
Returns
Type Description
$this

getCurrencyCode

Output only. Primary currency code, in ISO-4217 format.

Returns
Type Description
string

setCurrencyCode

Output only. Primary currency code, in ISO-4217 format.

Parameter
Name Description
var string
Returns
Type Description
$this

getSecondaryCurrencyCodes

Optional. Currency codes that can be used as an alternative to the primary currency code for trafficking Line Items.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSecondaryCurrencyCodes

Optional. Currency codes that can be used as an alternative to the primary currency code for trafficking Line Items.

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

getEffectiveRootAdUnit

Output only. Top most Ad Unit to which descendant Ad Units can be added.

Format: networks/{network_code}/adUnit/{ad_unit_id}

Returns
Type Description
string

setEffectiveRootAdUnit

Output only. Top most Ad Unit to which descendant Ad Units can be added.

Format: networks/{network_code}/adUnit/{ad_unit_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getTestNetwork

Output only. Whether this is a test network.

Returns
Type Description
bool

setTestNetwork

Output only. Whether this is a test network.

Parameter
Name Description
var bool
Returns
Type Description
$this

getNetworkId

Output only. Network ID.

Returns
Type Description
int|string

setNetworkId

Output only. Network ID.

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