// Copyright 2016 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.v201605; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for TargetingDimension. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * <simpleType name="TargetingDimension"> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <enumeration value="CUSTOM_CRITERIA"/> * <enumeration value="GEOGRAPHY"/> * <enumeration value="BROWSER"/> * <enumeration value="BROWSER_LANGUAGE"/> * <enumeration value="BANDWIDTH_GROUP"/> * <enumeration value="OPERATING_SYSTEM"/> * <enumeration value="USER_DOMAIN"/> * <enumeration value="CONTENT"/> * <enumeration value="VIDEO_POSITION"/> * <enumeration value="AD_SIZE"/> * <enumeration value="AD_UNIT"/> * <enumeration value="PLACEMENT"/> * <enumeration value="MOBILE_CARRIER"/> * <enumeration value="DEVICE_CAPABILITY"/> * <enumeration value="DEVICE_CATEGORY"/> * <enumeration value="DEVICE_MANUFACTURER"/> * <enumeration value="UNKNOWN"/> * </restriction> * </simpleType> * </pre> * */ @XmlType(name = "TargetingDimension") @XmlEnum public enum TargetingDimension { CUSTOM_CRITERIA, GEOGRAPHY, BROWSER, BROWSER_LANGUAGE, BANDWIDTH_GROUP, OPERATING_SYSTEM, USER_DOMAIN, CONTENT, VIDEO_POSITION, AD_SIZE, AD_UNIT, PLACEMENT, MOBILE_CARRIER, DEVICE_CAPABILITY, DEVICE_CATEGORY, DEVICE_MANUFACTURER, /** * * The value returned if the actual value is not exposed by the requested API version. * * */ UNKNOWN; public String value() { return name(); } public static TargetingDimension fromValue(String v) { return valueOf(v); } }