Package com.google.doubleclick
Enum AdxExt.DealExt.CreativeSourceType
- java.lang.Object
-
- java.lang.Enum<AdxExt.DealExt.CreativeSourceType>
-
- com.google.doubleclick.AdxExt.DealExt.CreativeSourceType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<AdxExt.DealExt.CreativeSourceType>
- Enclosing class:
- AdxExt.DealExt
public static enum AdxExt.DealExt.CreativeSourceType extends Enum<AdxExt.DealExt.CreativeSourceType> implements com.google.protobuf.ProtocolMessageEnum
Experimental field; subject to change. An enum declaring the host of the creative, which will only be populated for Programmatic Guaranteed deals. Currently, this field should only ever be set to CREATIVE_SOURCE_ADVERTISER.
Protobuf enumcom.google.doubleclick.DealExt.CreativeSourceType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATIVE_SOURCE_ADVERTISERThe creative is hosted by the advertiser, which means the bidder is required to provide a creative in the bid response.CREATIVE_SOURCE_PUBLISHERThe creative is hosted by the publisher, which means the bidder does not need to include a creative in the bid response.CREATIVE_SOURCE_UNKNOWNCREATIVE_SOURCE_UNKNOWN = 0;
-
Field Summary
Fields Modifier and Type Field Description static intCREATIVE_SOURCE_ADVERTISER_VALUEThe creative is hosted by the advertiser, which means the bidder is required to provide a creative in the bid response.static intCREATIVE_SOURCE_PUBLISHER_VALUEThe creative is hosted by the publisher, which means the bidder does not need to include a creative in the bid response.static intCREATIVE_SOURCE_UNKNOWN_VALUECREATIVE_SOURCE_UNKNOWN = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static AdxExt.DealExt.CreativeSourceTypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<AdxExt.DealExt.CreativeSourceType>internalGetValueMap()static AdxExt.DealExt.CreativeSourceTypevalueOf(int value)Deprecated.static AdxExt.DealExt.CreativeSourceTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static AdxExt.DealExt.CreativeSourceTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AdxExt.DealExt.CreativeSourceType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATIVE_SOURCE_UNKNOWN
public static final AdxExt.DealExt.CreativeSourceType CREATIVE_SOURCE_UNKNOWN
CREATIVE_SOURCE_UNKNOWN = 0;
-
CREATIVE_SOURCE_ADVERTISER
public static final AdxExt.DealExt.CreativeSourceType CREATIVE_SOURCE_ADVERTISER
The creative is hosted by the advertiser, which means the bidder is required to provide a creative in the bid response.
CREATIVE_SOURCE_ADVERTISER = 1;
-
CREATIVE_SOURCE_PUBLISHER
public static final AdxExt.DealExt.CreativeSourceType CREATIVE_SOURCE_PUBLISHER
The creative is hosted by the publisher, which means the bidder does not need to include a creative in the bid response. For more information on publisher-hosted creatives, see https://support.google.com/admanager/answer/9243220. This feature isn't currently supported for RTB bidders.
CREATIVE_SOURCE_PUBLISHER = 2;
-
-
Field Detail
-
CREATIVE_SOURCE_UNKNOWN_VALUE
public static final int CREATIVE_SOURCE_UNKNOWN_VALUE
CREATIVE_SOURCE_UNKNOWN = 0;- See Also:
- Constant Field Values
-
CREATIVE_SOURCE_ADVERTISER_VALUE
public static final int CREATIVE_SOURCE_ADVERTISER_VALUE
The creative is hosted by the advertiser, which means the bidder is required to provide a creative in the bid response.
CREATIVE_SOURCE_ADVERTISER = 1;- See Also:
- Constant Field Values
-
CREATIVE_SOURCE_PUBLISHER_VALUE
public static final int CREATIVE_SOURCE_PUBLISHER_VALUE
The creative is hosted by the publisher, which means the bidder does not need to include a creative in the bid response. For more information on publisher-hosted creatives, see https://support.google.com/admanager/answer/9243220. This feature isn't currently supported for RTB bidders.
CREATIVE_SOURCE_PUBLISHER = 2;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static AdxExt.DealExt.CreativeSourceType[] 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:for (AdxExt.DealExt.CreativeSourceType c : AdxExt.DealExt.CreativeSourceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AdxExt.DealExt.CreativeSourceType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static AdxExt.DealExt.CreativeSourceType valueOf(int value)
Deprecated.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:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static AdxExt.DealExt.CreativeSourceType forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<AdxExt.DealExt.CreativeSourceType> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static AdxExt.DealExt.CreativeSourceType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
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:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-