type Network (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Network
represents a network.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
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\u003eA \u003ccode\u003eNetwork\u003c/code\u003e object represents a network in Google Ad Manager and contains its properties like ID, display name, network code, and currency.\u003c/p\u003e\n"],["\u003cp\u003eEach network has a unique ID assigned by Google, a display name, and a network code used for accessing it.\u003c/p\u003e\n"],["\u003cp\u003eNetworks have a primary currency code and may also have secondary currency codes used for specific purposes like trafficking line items.\u003c/p\u003e\n"],["\u003cp\u003eKey properties like time zone, effective root ad unit ID, and test network status are read-only and cannot be modified.\u003c/p\u003e\n"],["\u003cp\u003eThe network object provides essential information for understanding and managing ad inventory and delivery within a specific network.\u003c/p\u003e\n"]]],["The `NetworkService` offers operations to manage networks, including `getAllNetworks()`, `getCurrentNetwork()`, `makeTestNetwork()`, and `updateNetwork()`. A `Network` object has properties like `id`, `displayName`, `networkCode`, `propertyCode`, `timeZone`, `currencyCode`, `secondaryCurrencyCodes`, `effectiveRootAdUnitId`, and `isTest`. Key information includes read-only fields assigned by Google such as ID, codes and the ability to retrieve or update network data.\n"],null,["# type Network (v202408)\n\n**Service** \n**NetworkService** **Dependencies** \n[getAllNetworks()](/ad-manager/api/reference/v202408/NetworkService#getAllNetworks) [getCurrentNetwork()](/ad-manager/api/reference/v202408/NetworkService#getCurrentNetwork) [makeTestNetwork()](/ad-manager/api/reference/v202408/NetworkService#makeTestNetwork) [updateNetwork()](/ad-manager/api/reference/v202408/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/v202408`\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/v202408/NetworkService.Network#currencyCode) for trafficking [line items](/ad-manager/api/reference/v202408/ForecastService.LineItem). |\n| ### `effectiveRootAdUnitId` | ` `xsd:`string` The [AdUnit.id](/ad-manager/api/reference/v202408/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/v202408/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. |"]]