// 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 ConversionEvent. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * <simpleType name="ConversionEvent"> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <enumeration value="UNKNOWN"/> * <enumeration value="CREATIVE_VIEW"/> * <enumeration value="START"/> * <enumeration value="SKIP_SHOWN"/> * <enumeration value="FIRST_QUARTILE"/> * <enumeration value="MIDPOINT"/> * <enumeration value="THIRD_QUARTILE"/> * <enumeration value="ENGAGED_VIEW"/> * <enumeration value="COMPLETE"/> * <enumeration value="MUTE"/> * <enumeration value="UNMUTE"/> * <enumeration value="PAUSE"/> * <enumeration value="REWIND"/> * <enumeration value="RESUME"/> * <enumeration value="SKIPPED"/> * <enumeration value="FULLSCREEN"/> * <enumeration value="EXPAND"/> * <enumeration value="COLLAPSE"/> * <enumeration value="ACCEPT_INVITATION"/> * <enumeration value="CLOSE"/> * <enumeration value="CLICK_TRACKING"/> * <enumeration value="SURVEY"/> * <enumeration value="CUSTOM_CLICK"/> * <enumeration value="MEASURABLE_IMPRESSION"/> * <enumeration value="VIEWABLE_IMPRESSION"/> * <enumeration value="VIDEO_ABANDON"/> * <enumeration value="FULLY_VIEWABLE_AUDIBLE_HALF_DURATION_IMPRESSION"/> * </restriction> * </simpleType> * </pre> * */ @XmlType(name = "ConversionEvent") @XmlEnum public enum ConversionEvent { /** * * The value returned if the actual value is not exposed by the requested API version. * * */ UNKNOWN, /** * * Corresponds to the {@code creativeView} tracking event. * * */ CREATIVE_VIEW, /** * * Corresponds to the {@code start} tracking event. * * */ START, /** * * An event that is fired when a video skip button is shown, * usually after 5 seconds of viewing the video. * This event does not correspond to any VAST element and is implemented using an extension. * * */ SKIP_SHOWN, /** * * Corresponds to the {@code firstQuartile} tracking event. * * */ FIRST_QUARTILE, /** * * Corresponds to the {@code midpoint} tracking event. * * */ MIDPOINT, /** * * Corresponds to the {@code thirdQuartile} tracking event. * * */ THIRD_QUARTILE, /** * * An event that is fired after 30 seconds of viewing the video * or when the video finished (if the video duration is less than 30 seconds). * This event does not correspond to any VAST element and is implemented using an extension. * * */ ENGAGED_VIEW, /** * * Corresponds to the {@code complete} tracking event. * * */ COMPLETE, /** * * Corresponds to the {@code mute} tracking event. * * */ MUTE, /** * * Corresponds to the {@code unmute} tracking event. * * */ UNMUTE, /** * * Corresponds to the {@code pause} tracking event. * * */ PAUSE, /** * * Corresponds to the {@code rewind} tracking event. * * */ REWIND, /** * * Corresponds to the {@code resume} tracking event. * * */ RESUME, /** * * An event that is fired when a video was skipped. * This event does not correspond to any VAST element and is implemented using an extension. * * */ SKIPPED, /** * * Corresponds to the {@code fullscreen} tracking event. * * */ FULLSCREEN, /** * * Corresponds to the {@code expand} tracking event. * * */ EXPAND, /** * * Corresponds to the {@code collapse} tracking event. * * */ COLLAPSE, /** * * Corresponds to the {@code acceptInvitation} tracking event. * * */ ACCEPT_INVITATION, /** * * Corresponds to the {@code close} tracking event. * * */ CLOSE, /** * * Corresponds to the {@code Linear.VideoClicks.ClickTracking} node. * * */ CLICK_TRACKING, /** * * Corresponds to the {@code InLine.Survey} node. * * */ SURVEY, /** * * Corresponds to the {@code Linear.VideoClicks.CustomClick} node. * * */ CUSTOM_CLICK, /** * * Corresponds to the {@code measurableImpression} tracking event. * * */ MEASURABLE_IMPRESSION, /** * * Corresponds to the {@code viewableImpression} tracking event. * * */ VIEWABLE_IMPRESSION, /** * * Corresponds to the {@code abandon} tracking event. * * */ VIDEO_ABANDON, /** * * Corresponds to the {@code fullyViewableAudibleHalfDurationImpression} tracking event. * * */ FULLY_VIEWABLE_AUDIBLE_HALF_DURATION_IMPRESSION; public String value() { return name(); } public static ConversionEvent fromValue(String v) { return valueOf(v); } }