com.google.api.ads.admanager.jaxws.v202402.GrpSettingsErrorReason 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.v202402;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for GrpSettingsError.Reason.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="GrpSettingsError.Reason">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="INVALID_AGE_RANGE"/>
* <enumeration value="UNDER_18_MIN_AGE_REQUIRES_ALL_AGES"/>
* <enumeration value="LINE_ITEM_ENVIRONMENT_TYPE_NOT_SUPPORTED"/>
* <enumeration value="NIELSEN_DAR_REQUIRES_INSTREAM_VIDEO"/>
* <enumeration value="LINE_ITEM_TYPE_NOT_SUPPORTED"/>
* <enumeration value="CANNOT_SPECIFY_GENDER_FOR_GIVEN_AGE_RANGE"/>
* <enumeration value="INVALID_MIN_AGE"/>
* <enumeration value="INVALID_MAX_AGE"/>
* <enumeration value="CANNOT_DISABLE_GRP_AFTER_ENABLING"/>
* <enumeration value="CANNOT_CHANGE_GRP_PROVIDERS"/>
* <enumeration value="CANNOT_CHANGE_GRP_SETTINGS"/>
* <enumeration value="GRP_AUDIENCE_GOAL_NOT_SUPPORTED"/>
* <enumeration value="DEMOG_GOAL_EXPECTED"/>
* <enumeration value="CANNOT_SET_GRP_AUDIENCE_GOAL"/>
* <enumeration value="CANNOT_REMOVE_GRP_AUDIENCE_GOAL"/>
* <enumeration value="UNSUPPORTED_GEO_TARGETING"/>
* <enumeration value="UNSUPPORTED_GRP_SETTING"/>
* <enumeration value="SHOULD_SET_IN_TARGET_GOAL_THROUGH_GRP_SETTINGS"/>
* <enumeration value="SHOULD_SET_IN_TARGET_GOAL_THROUGH_PRIMARY_GOAL"/>
* <enumeration value="NIELSEN_REGISTRATION_FAILED"/>
* <enumeration value="LEGACY_NIELSEN_CAMPAIGN_REGISTRATION_ATTEMPT"/>
* <enumeration value="UNKNOWN"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "GrpSettingsError.Reason")
@XmlEnum
public enum GrpSettingsErrorReason {
/**
*
* Age range for GRP audience is not valid. Please see the
* Ad Manager Help Center
* for more information.
*
*
*/
INVALID_AGE_RANGE,
/**
*
* Age range for GRP audience is not allowed to include ages under 18 unless designating all
* ages in target(2-65+).
*
*
*/
UNDER_18_MIN_AGE_REQUIRES_ALL_AGES,
/**
*
* GRP settings are only supported for video line items.
*
*
*/
LINE_ITEM_ENVIRONMENT_TYPE_NOT_SUPPORTED,
/**
*
* For deals with Nielsen DAR enabled, there must be an instream video environment.
*
*
*/
NIELSEN_DAR_REQUIRES_INSTREAM_VIDEO,
/**
*
* GRP settings are not supported for the given line item type.
*
*
*/
LINE_ITEM_TYPE_NOT_SUPPORTED,
/**
*
* GRP audience gender cannot be specified for the selected age range.
*
*
*/
CANNOT_SPECIFY_GENDER_FOR_GIVEN_AGE_RANGE,
/**
*
* Minimum age for GRP audience is not valid.
*
*
*/
INVALID_MIN_AGE,
/**
*
* Maximum age for GRP audience is not valid.
*
*
*/
INVALID_MAX_AGE,
/**
*
* GRP settings cannot be disabled.
*
*
*/
CANNOT_DISABLE_GRP_AFTER_ENABLING,
/**
*
* GRP provider cannot be updated.
*
*
*/
CANNOT_CHANGE_GRP_PROVIDERS,
/**
*
* GRP settings cannot be updated once the line item has started serving.
*
*
*/
CANNOT_CHANGE_GRP_SETTINGS,
/**
*
* Impression goal based on GRP audience is not supported.
*
*
*/
GRP_AUDIENCE_GOAL_NOT_SUPPORTED,
/**
*
* Impression goal based on GRP audience expected.
*
*
*/
DEMOG_GOAL_EXPECTED,
/**
*
* Impression goal based on GRP audience cannot be set once the line item has started serving.
*
*
*/
CANNOT_SET_GRP_AUDIENCE_GOAL,
/**
*
* Impression goal based on GRP audience cannot be removed once the line item has started
* serving.
*
*
*/
CANNOT_REMOVE_GRP_AUDIENCE_GOAL,
/**
*
* Unsupported geographic location targeted for line item with GRP audience goal.
*
*
*/
UNSUPPORTED_GEO_TARGETING,
/**
*
* GRP Settings specified are unsupported.
*
*
*/
UNSUPPORTED_GRP_SETTING,
/**
*
* In-target line items should be set through the grpSettings target impression goal.
*
*
*/
SHOULD_SET_IN_TARGET_GOAL_THROUGH_GRP_SETTINGS,
/**
*
* In-target line items should be set through the primaryReservationUnit's in-target Impressions
* unit type.
*
*
*/
SHOULD_SET_IN_TARGET_GOAL_THROUGH_PRIMARY_GOAL,
/**
*
* Attempt to register with Nielsen failed.
*
*
*/
NIELSEN_REGISTRATION_FAILED,
/**
*
* Attempted to register a placement on a legacy Nielsen campaign.
*
*
*/
LEGACY_NIELSEN_CAMPAIGN_REGISTRATION_ATTEMPT,
/**
*
* The value returned if the actual value is not exposed by the requested API version.
*
*
*/
UNKNOWN;
public String value() {
return name();
}
public static GrpSettingsErrorReason fromValue(String v) {
return valueOf(v);
}
}