type NetworkError (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
An error for a network.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Field
|
ApiError (inherited)
|
fieldPath
|
xsd:string
The OGNL field path to identify cause of error.
|
fieldPathElements
|
FieldPathElement[]
A parsed copy of the field path. For example, the field path "operations[1].operand"
corresponds to this list: {FieldPathElement(field = "operations", index = 1),
FieldPathElement(field = "operand", index = null)}.
|
trigger
|
xsd:string
The data that caused the error.
|
errorString
|
xsd:string
A simple string representation of the error and reason.
|
NetworkError
|
reason
|
NetworkError.Reason
Enumerations
-
UNKNOWN
- The value returned if the actual value is not exposed by the requested API version.
-
MULTI_CURRENCY_NOT_SUPPORTED
- Multi-currency support is not enabled for this network. This is an Ad Manager 360 feature.
-
UNSUPPORTED_CURRENCY
- Currency provided is not supported.
-
NETWORK_CURRENCY_CANNOT_BE_SAME_AS_SECONDARY
- The network currency cannot also be specified as a secondary currency.
-
DEPRECATED_DATA_TRANSFER_CONFIG_EVENT_TYPE
- The data transfer config cannot have a deprecated event type.
-
DELEGATION_CHILD_NETWORK_CANNOT_BECOME_A_PARENT
- An MCM child network cannot become a parent network.
-
DELEGATION_PARENT_NETWORK_CANNOT_BECOME_A_CHILD
- An MCM parent network cannot become a child of another network.
-
CANNOT_ADD_SAME_NETWORK_AS_DELEGATION_CHILD
- In MCM, a network cannot become a parent of itself.
-
MAX_APPROVED_DELEGATION_CHILD_NETWORKS_EXCEEDED
- The MCM parent network has exceeded the system limit of child networks.
-
MAX_PENDING_DELEGATION_CHILD_NETWORKS_EXCEEDED
- The MCM parent network has exceeded the system limit of child networks pending approval.
-
CHILD_NETWORK_ALREADY_EXISTS
- The network is already being managed by the parent network for MCM.
-
CHILD_NETWORK_CANNOT_BE_DISAPPROVED
- A child network must not be disapproved.
-
IN_PARENT_DELEGATION_UNSUPPORTED_FOR_NETWORK
- Only Ad Manager 360 networks are allowed to manage the inventory of other networks.
-
ERROR_REENABLING_AD_EXCHANGE_ON_MCM_CHILD
- When an MCM child network self-signsup for ad exchange but disconnects from the parent, then
tries to re-enable again, this indicates that there was an error in re-enabling ad exchange.
-
ERROR_SETTING_SITE_SERVING_MODE_ON_MCM_CHILD
- The error shown when there is an issue setting the approved site serving field when
re-enabling or disabling ad exchange on an MCM child.
|
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\u003eThis documentation details the \u003ccode\u003eNetworkError\u003c/code\u003e object within the Google Ad Manager API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNetworkError\u003c/code\u003e objects are a specific type of \u003ccode\u003eApiError\u003c/code\u003e that provide information about errors related to networks.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ereason\u003c/code\u003e field within a \u003ccode\u003eNetworkError\u003c/code\u003e object uses the \u003ccode\u003eNetworkError.Reason\u003c/code\u003e enumeration to categorize the specific network issue encountered.\u003c/p\u003e\n"],["\u003cp\u003eThese errors can relate to multi-currency support, unsupported currencies, network delegation, Ad Exchange settings on MCM child networks and more.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use the information within a \u003ccode\u003eNetworkError\u003c/code\u003e to diagnose and resolve issues related to network operations in their Ad Manager integrations.\u003c/p\u003e\n"]]],["The content outlines `NetworkError`, a type of `ApiError` within the `NetworkService`, used in Ad Manager API v202408. It details the error's properties: `fieldPath`, `fieldPathElements`, `trigger`, and `errorString`. `NetworkError` has a `reason` field that can be one of various enumerated values, such as `UNKNOWN`, `MULTI_CURRENCY_NOT_SUPPORTED`, or `CHILD_NETWORK_ALREADY_EXISTS`, among others. These reasons specify issues related to network configurations like multi-currency, MCM relations, and data transfer.\n"],null,[]]