Page tree


com.pubmatic.sdk.common.pubmatic

Enum PMAdRequest.AWT_OPTION

java.lang.Object
    java.lang.Enum<PMAdRequest.AWT_OPTION>
        com.pubmatic.sdk.common.pubmatic.PMAdRequest.AWT_OPTION


All Implemented Interfaces:

java.io.Serializable, java.lang.Comparable<PMAdRequest.AWT_OPTION>


Enclosing class:

PMAdRequest


protected static enum PMAdRequest.AWT_OPTION
extends java.lang.Enum<PMAdRequest.AWT_OPTION>

Indicates whether the tracking URL has been wrapped or not in the creative tag. Possible options are: DEFAULT - Indicates that the tracking URL is sent separately in the response JSON as tracking_url. In this case, the tracking_url field is absent in the JSON response. WRAPPED_IN_IFRAME - Indicates that the tracking_url value is wrapped in an Iframe and appended to the creative_tag. WRAPPED_IN_JS - Indicates that the tracking_url value is wrapped in a JS tag and appended to the creative_tag. Note: If the awt parameter is absent in the bid request URL, then it is same as awt=DEFAULT mentioned above.

Enum Constant Summary

Enum Constant and Description
DEFAULT  
WRAPPED_IN_IFRAME  
WRAPPED_IN_JS  

Method Summary

Modifier and TypeMethod and Description
static PMAdRequest.AWT_OPTION valueOf(java.lang.string name) Returns the enum constant of this type with the specified name.
static PMAdRequest.AWT_OPTION[] values()
Returns an array containing the constants of this enum type, in the order they are declared.

Methods inherited from class java.lang.Enum


clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, tostring, valueOf

Methods inherited from class java.lang.Object


getClass, notify, notifyAll, wait, wait, wait

Enum Constant Detail


DEFAULT

public static final PMAdRequest.AWT_OPTION DEFAULT

WRAPPED_IN_IFRAME

public static final PMAdRequest.AWT_OPTION WRAPPED_IN_IFRAME

WRAPPED_IN_JS

public static final PMAdRequest.AWT_OPTION WRAPPED_IN_JS

Method Detail


values

public static PMAdRequest.AWT_OPTION[] values()

Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:

Example Method to Iterate Over Constants
for (PMAdRequest.AWT_OPTION c : PMAdRequest.AWT_OPTION.values())
     System.out.println(c);

Returns:

An array containing the constants of this enum type, in the order they are declared

valueOf

public static PMAdRequest.AWT_OPTION valueOf(java.lang.string name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:

name - the name of the enum constant to be returned.

Returns:

The enum constant with the specified name

Throws:

java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

java.lang.NullPointerException - if the argument is null


⇧ Top