// Copyright 2017 Google Inc. All Rights Reserved. // // 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.dfp.jaxws.v201702; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for ComputedStatus. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * <simpleType name="ComputedStatus"> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <enumeration value="DELIVERY_EXTENDED"/> * <enumeration value="DELIVERING"/> * <enumeration value="READY"/> * <enumeration value="PAUSED"/> * <enumeration value="INACTIVE"/> * <enumeration value="PAUSED_INVENTORY_RELEASED"/> * <enumeration value="PENDING_APPROVAL"/> * <enumeration value="COMPLETED"/> * <enumeration value="DISAPPROVED"/> * <enumeration value="DRAFT"/> * <enumeration value="CANCELED"/> * </restriction> * </simpleType> * </pre> * */ @XmlType(name = "ComputedStatus") @XmlEnum public enum ComputedStatus { /** * * The {@link LineItem} has past its {@link LineItem#endDateTime} with an auto extension, but * hasn't met its goal. * * */ DELIVERY_EXTENDED, /** * * The {@link LineItem} has begun serving. * * */ DELIVERING, /** * * The {@link LineItem} has been activated and is ready to serve. * * */ READY, /** * * The {@link LineItem} has been paused from serving. * * */ PAUSED, /** * * The {@link LineItem} is inactive. It is either caused by missing creatives or * the network disabling auto-activation. * * */ INACTIVE, /** * * The {@link LineItem} has been paused and its reserved inventory has been * released. The {@code LineItem} will not serve. * * */ PAUSED_INVENTORY_RELEASED, /** * * The {@link LineItem} has been submitted for approval. * * */ PENDING_APPROVAL, /** * * The {@link LineItem} has completed its run. * * */ COMPLETED, /** * * The {@link LineItem} has been disapproved and is not eligible to serve. * * */ DISAPPROVED, /** * * The {@link LineItem} is still being drafted. * * */ DRAFT, /** * * The {@link LineItem} has been canceled and is no longer eligible to serve. * This is a legacy status imported from Google Ad Manager orders. * * */ CANCELED; public String value() { return name(); } public static ComputedStatus fromValue(String v) { return valueOf(v); } }