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.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ name | stringIdentifier. The resource name of the Network. Format: networks/{network_code} | 
| ↳ display_name | stringOptional. Display name for Network. | 
| ↳ network_code | stringOutput only. Network Code. | 
| ↳ property_code | stringOutput only. Property code. | 
| ↳ time_zone | stringOutput only. Time zone associated with the delivery of orders and reporting. | 
| ↳ currency_code | stringOutput only. Primary currency code, in ISO-4217 format. | 
| ↳ secondary_currency_codes | arrayOptional. Currency codes that can be used as an alternative to the primary currency code for trafficking Line Items. | 
| ↳ effective_root_ad_unit | stringOutput only. Top most Ad Unit to which descendant Ad Units can be added. Format: networks/{network_code}/adUnit/{ad_unit_id} | 
| ↳ test_network | boolOutput only. Whether this is a test network. | 
| ↳ network_id | int|stringOutput 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 | |