type Network (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Network
represents a network.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field
|
id
|
xsd:long
The unique ID of the Network . This value is readonly and is assigned by Google.
|
displayName
|
xsd:string
The display name of the network.
|
networkCode
|
xsd:string
The network code. If the current login has access to multiple networks, then the network code
must be provided in the SOAP request headers for all requests. Otherwise, it is optional to
provide the network code in the SOAP headers. This field is read-only.
|
propertyCode
|
xsd:string
The property code. This field is read-only.
|
timeZone
|
xsd:string
The time zone associated with the delivery of orders and reporting. This field is read-only.
|
currencyCode
|
xsd:string
The primary currency code. This field is read-only.
|
secondaryCurrencyCodes
|
xsd:string[]
Currencies that can be used as an alternative to the Network.currencyCode for
trafficking line items.
|
effectiveRootAdUnitId
|
xsd:string
The AdUnit.id of the top most ad unit to which descendant ad units can be added. Should
be used for the AdUnit.parentId when first building inventory hierarchy. This field is
read-only.
|
isTest
|
xsd:boolean
Whether this is a test network. This field is read-only.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003e\u003ccode\u003eNetwork\u003c/code\u003e objects represent a network within Google Ad Manager and contain identifying information like ID, display name, and network code.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of a \u003ccode\u003eNetwork\u003c/code\u003e include its time zone, currency codes, and a designated root ad unit for inventory hierarchy.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNetwork\u003c/code\u003e objects are largely read-only, with assigned values such as ID, network code, and property code determined by Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eNetworks can be test networks, indicated by the \u003ccode\u003eisTest\u003c/code\u003e property, and can have secondary currency codes for trafficking line items.\u003c/p\u003e\n"]]],["The `NetworkService` offers functionalities to manage networks, including `getAllNetworks()`, `getCurrentNetwork()`, `makeTestNetwork()`, and `updateNetwork()`. A `Network` object has properties like `id`, `displayName`, `networkCode`, `propertyCode`, `timeZone`, `currencyCode`, and `secondaryCurrencyCodes`, all of which are read-only except the `displayName`. The `effectiveRootAdUnitId` is the top-level ad unit ID. The `isTest` indicates whether the network is for testing purposes.\n"],null,["# type Network (v202411)\n\n**Service** \n**NetworkService** **Dependencies** \n[getAllNetworks()](/ad-manager/api/reference/v202411/NetworkService#getAllNetworks) [getCurrentNetwork()](/ad-manager/api/reference/v202411/NetworkService#getCurrentNetwork) [makeTestNetwork()](/ad-manager/api/reference/v202411/NetworkService#makeTestNetwork) [updateNetwork()](/ad-manager/api/reference/v202411/NetworkService#updateNetwork) \n▼\n**Network**\n\n\n`Network` represents a network.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `id` | ` `xsd:`long` The unique ID of the `Network`. This value is readonly and is assigned by Google. |\n| ### `displayName` | ` `xsd:`string` The display name of the network. |\n| ### `networkCode` | ` `xsd:`string` The network code. If the current login has access to multiple networks, then the network code must be provided in the SOAP request headers for all requests. Otherwise, it is optional to provide the network code in the SOAP headers. This field is read-only. |\n| ### `propertyCode` | ` `xsd:`string` The property code. This field is read-only. |\n| ### `timeZone` | ` `xsd:`string` The time zone associated with the delivery of orders and reporting. This field is read-only. |\n| ### `currencyCode` | ` `xsd:`string` The primary currency code. This field is read-only. |\n| ### `secondaryCurrencyCodes` | ` `xsd:`string[]` Currencies that can be used as an alternative to the [Network.currencyCode](/ad-manager/api/reference/v202411/NetworkService.Network#currencyCode) for trafficking [line items](/ad-manager/api/reference/v202411/ForecastService.LineItem). |\n| ### `effectiveRootAdUnitId` | ` `xsd:`string` The [AdUnit.id](/ad-manager/api/reference/v202411/InventoryService.AdUnit#id) of the top most ad unit to which descendant ad units can be added. Should be used for the [AdUnit.parentId](/ad-manager/api/reference/v202411/InventoryService.AdUnit#parentId) when first building inventory hierarchy. This field is read-only. |\n| ### `isTest` | ` `xsd:`boolean` Whether this is a test network. This field is read-only. |"]]