type McmError (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
An error for multiple customer management.
- 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.
|
McmError
|
reason
|
McmError.Reason
Enumerations
-
UNKNOWN
- The value returned if the actual value is not exposed by the requested API version.
-
REVENUE_SHARE_PERCENT_OUTSIDE_RANGE
- An MCM parent revenue share must be between 0 to 100_000L in millis.
-
RESELLER_PARENT_REVENUE_SHARE_IS_NOT_100_PERCENT
- An MCM reseller parent revenue share must be 100_000L in millis.
-
MI_PARENT_REVENUE_SHARE_IS_NOT_100_PERCENT
- An MCM Manage Inventory parent revenue share must be 100_000L in millis.
-
DUPLICATE_CHILD_PUBLISHER_NETWORK_CODE
- The network code is used by another child publisher.
-
DUPLICATE_CHILD_PUBLISHER_ACTIVE_EMAIL
- The email is used by another active child publisher.
-
CHILD_NETWORK_DISAPPROVED
- The MCM child network has been disapproved by Google.
-
MANAGE_INVENTORY_UNSUPPORTED_IN_RESELLER_NETWORK
- Manage inventory is not supported in reseller network.
-
CANNOT_SEND_INVITATION_TO_MCM_PARENT
- Cannot send MCM invitation to a MCM parent.
-
CANNOT_SEND_INVITATION_TO_NETWORK_WITH_RESELLER_PARENT
- A non-reseller MCM parent cannot send invitation to child which has another reseller parent.
-
CANNOT_SEND_INVITATION_TO_SELF
- Cannot send MCM invitation to self.
-
CANNOT_CLOSE_MCM_WITH_ACTIVE_CHILDREN
- An MCM parent network cannot be disabled as parent with active children.
-
CANNOT_TURN_CHILD_INTO_PARENT_WITH_ACTIVE_INVITATION
- Cannot turn on MCM feature flag on a MCM Child network with active invitations.
-
MISSING_NETWORK_EXCHANGE_ACCOUNT
- An Ad Exchange account is required for an MCM parent network.
|
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\u003eMcmError\u003c/code\u003e object, which represents errors related to Multiple Customer Management (MCM) within the Google Ad Manager API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMcmError\u003c/code\u003e inherits from \u003ccode\u003eApiError\u003c/code\u003e and includes a \u003ccode\u003ereason\u003c/code\u003e field that provides specific information about the MCM error encountered.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ereason\u003c/code\u003e field can take on various values, such as \u003ccode\u003eREVENUE_SHARE_PERCENT_OUTSIDE_RANGE\u003c/code\u003e, \u003ccode\u003eDUPLICATE_CHILD_PUBLISHER_NETWORK_CODE\u003c/code\u003e, or \u003ccode\u003eMISSING_NETWORK_EXCHANGE_ACCOUNT\u003c/code\u003e, indicating different types of MCM errors.\u003c/p\u003e\n"],["\u003cp\u003eThese error codes help developers diagnose and address issues related to revenue sharing, child publisher uniqueness, network approvals, and other aspects of managing multiple customer networks in Ad Manager.\u003c/p\u003e\n"]]],["The `NetworkService` manages errors, categorized under `ApiError`, which can be inherited. `McmError`, specific to multiple customer management, includes reasons such as `REVENUE_SHARE_PERCENT_OUTSIDE_RANGE`, `DUPLICATE_CHILD_PUBLISHER_NETWORK_CODE`, and `CHILD_NETWORK_DISAPPROVED`. `ApiError` contains fields such as `fieldPath`, `fieldPathElements`, `trigger`, and `errorString` for error identification. Specific error types, like `QuotaError` and `StatementError` , also fall under the `ApiError` umbrella. `McmError.Reason` contains the descriptions of the errors.\n"],null,[]]