com.google.api.ads.admanager.jaxws.v202408.McmErrorReason Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dfp-appengine Show documentation
Show all versions of dfp-appengine Show documentation
Ad Manager specific AppEngine components.
The newest version!
// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package com.google.api.ads.admanager.jaxws.v202408;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for McmError.Reason.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="McmError.Reason">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="UNKNOWN"/>
* <enumeration value="REVENUE_SHARE_PERCENT_OUTSIDE_RANGE"/>
* <enumeration value="RESELLER_PARENT_REVENUE_SHARE_IS_NOT_100_PERCENT"/>
* <enumeration value="MI_PARENT_REVENUE_SHARE_IS_NOT_100_PERCENT"/>
* <enumeration value="DUPLICATE_CHILD_PUBLISHER_NETWORK_CODE"/>
* <enumeration value="DUPLICATE_CHILD_PUBLISHER_ACTIVE_EMAIL"/>
* <enumeration value="CHILD_NETWORK_DISAPPROVED"/>
* <enumeration value="MANAGE_INVENTORY_UNSUPPORTED_IN_RESELLER_NETWORK"/>
* <enumeration value="CANNOT_SEND_INVITATION_TO_MCM_PARENT"/>
* <enumeration value="CANNOT_SEND_INVITATION_TO_NETWORK_WITH_RESELLER_PARENT"/>
* <enumeration value="CANNOT_SEND_INVITATION_TO_SELF"/>
* <enumeration value="CANNOT_CLOSE_MCM_WITH_ACTIVE_CHILDREN"/>
* <enumeration value="CANNOT_TURN_CHILD_INTO_PARENT_WITH_ACTIVE_INVITATION"/>
* <enumeration value="MISSING_NETWORK_EXCHANGE_ACCOUNT"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "McmError.Reason")
@XmlEnum
public enum McmErrorReason {
/**
*
* The value returned if the actual value is not exposed by the requested API version.
*
*
*/
UNKNOWN,
/**
*
* An MCM parent revenue share must be between 0 to 100_000L in millis.
*
*
*/
REVENUE_SHARE_PERCENT_OUTSIDE_RANGE,
/**
*
* An MCM reseller parent revenue share must be 100_000L in millis.
*
*
*/
RESELLER_PARENT_REVENUE_SHARE_IS_NOT_100_PERCENT,
/**
*
* An MCM Manage Inventory parent revenue share must be 100_000L in millis.
*
*
*/
MI_PARENT_REVENUE_SHARE_IS_NOT_100_PERCENT,
/**
*
* The network code is used by another child publisher.
*
*
*/
DUPLICATE_CHILD_PUBLISHER_NETWORK_CODE,
/**
*
* The email is used by another active child publisher.
*
*
*/
DUPLICATE_CHILD_PUBLISHER_ACTIVE_EMAIL,
/**
*
* The MCM child network has been disapproved by Google.
*
*
*/
CHILD_NETWORK_DISAPPROVED,
/**
*
* Manage inventory is not supported in reseller network.
*
*
*/
MANAGE_INVENTORY_UNSUPPORTED_IN_RESELLER_NETWORK,
/**
*
* Cannot send MCM invitation to a MCM parent.
*
*
*/
CANNOT_SEND_INVITATION_TO_MCM_PARENT,
/**
*
* A non-reseller MCM parent cannot send invitation to child which has another reseller parent.
*
*
*/
CANNOT_SEND_INVITATION_TO_NETWORK_WITH_RESELLER_PARENT,
/**
*
* Cannot send MCM invitation to self.
*
*
*/
CANNOT_SEND_INVITATION_TO_SELF,
/**
*
* An MCM parent network cannot be disabled as parent with active children.
*
*
*/
CANNOT_CLOSE_MCM_WITH_ACTIVE_CHILDREN,
/**
*
* Cannot turn on MCM feature flag on a MCM Child network with active invitations.
*
*
*/
CANNOT_TURN_CHILD_INTO_PARENT_WITH_ACTIVE_INVITATION,
/**
*
* An Ad Exchange account is required for an MCM parent network.
*
*
*/
MISSING_NETWORK_EXCHANGE_ACCOUNT;
public String value() {
return name();
}
public static McmErrorReason fromValue(String v) {
return valueOf(v);
}
}