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 \ V1Methods
__construct
Constructor.
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}/adUnits/{ad_unit}
↳ 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}
string
setName
Identifier. The resource name of the Network.
Format: networks/{network_code}
var
string
$this
getDisplayName
Optional. Display name for Network.
string
setDisplayName
Optional. Display name for Network.
var
string
$this
getNetworkCode
Output only. Network Code.
string
setNetworkCode
Output only. Network Code.
var
string
$this
getPropertyCode
Output only. Property code.
string
setPropertyCode
Output only. Property code.
var
string
$this
getTimeZone
Output only. Time zone associated with the delivery of orders and reporting.
string
setTimeZone
Output only. Time zone associated with the delivery of orders and reporting.
var
string
$this
getCurrencyCode
Output only. Primary currency code, in ISO-4217 format.
string
setCurrencyCode
Output only. Primary currency code, in ISO-4217 format.
var
string
$this
getSecondaryCurrencyCodes
Optional. Currency codes that can be used as an alternative to the primary currency code for trafficking Line Items.
setSecondaryCurrencyCodes
Optional. Currency codes that can be used as an alternative to the primary currency code for trafficking Line Items.
var
string[]
$this
getEffectiveRootAdUnit
Output only. Top most Ad Unit to which descendant Ad Units can be added.
Format: networks/{network_code}/adUnits/{ad_unit}
string
setEffectiveRootAdUnit
Output only. Top most Ad Unit to which descendant Ad Units can be added.
Format: networks/{network_code}/adUnits/{ad_unit}
var
string
$this
getTestNetwork
Output only. Whether this is a test network.
bool
setTestNetwork
Output only. Whether this is a test network.
var
bool
$this
getNetworkId
Output only. Network ID.
int|string
setNetworkId
Output only. Network ID.
var
int|string
$this