type McmError (v202411)
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/v202411
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 the \u003ccode\u003eApiError\u003c/code\u003e object, providing standard error fields like \u003ccode\u003efieldPath\u003c/code\u003e, \u003ccode\u003etrigger\u003c/code\u003e, and \u003ccode\u003eerrorString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt introduces the \u003ccode\u003ereason\u003c/code\u003e field, an enumeration outlining specific MCM error reasons such as invalid revenue share percentages, duplicate child publisher information, and network disapproval.\u003c/p\u003e\n"],["\u003cp\u003eThese errors help developers diagnose and address issues arising from MCM relationships and configurations in their Ad Manager network.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use the provided error reasons and associated documentation links to troubleshoot and resolve MCM-related problems efficiently.\u003c/p\u003e\n"]]],["The `NetworkService` defines `ApiError` as a base class, and `McmError` as a specialized error for multiple customer management, which inherits from it. `ApiError` provides details like `fieldPath`, `fieldPathElements`, `trigger`, and `errorString`. `McmError` specifies various reasons for management issues, including revenue share discrepancies, duplicate child network codes/emails, child network disapproval, and invitation-related errors. Enumerations for each reason provide specific error classifications.\n"],null,[]]