public interface Impression<T> extends Supplier<T>, Comparable<Impression<?>>, Serializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
Impression.Avro |
static class |
Impression.AvroBuilder |
static interface |
Impression.Builder<T> |
static class |
Impression.Comparator |
static class |
Impression.NativeImpl |
static class |
Impression.Protobuf |
static class |
Impression.ProtobufBuilder |
static class |
Impression.Thrift |
static class |
Impression.ThriftBuilder |
| Modifier and Type | Method and Description |
|---|---|
static Impression.Avro |
avro(Impression<?> instance)
Returns a wrapped Avro record based on an instance of Impression.
|
static Impression.Avro |
avro(ImpressionAvro wrapped)
Wraps an existing Avro record.
|
default int |
compareTo(Impression<?> other) |
T |
get()
Returns underlying object.
|
static Class<ImpressionAvro> |
getAvroClass()
Returns Avro record class.
|
static Schema |
getAvroSchema()
Returns Avro record schema.
|
Banner<?> |
getBanner()
A reference to a banner object.
|
double |
getBidfloor()
Bid floor for this impression (in CPM of bidfloorcur).
|
String |
getBidfloorcur()
If bid floor is specified and multiple currencies supported per bid request, then currency should be specified here using ISO-4217 alphabetic codes.
|
static Comparator<Impression<?>> |
getComparator()
Returns comparator instance for Impression objects.
|
String |
getDisplaymanager()
Name of ad mediation partner, SDK technology, or native player responsible for rendering ad (typically video or mobile).
|
String |
getDisplaymanagerver()
Version of ad mediation partner, SDK technology, or native player responsible for rendering ad (typically video or mobile).
|
String |
getId()
A unique identifier for this impression within the context of the bid request (typically, value starts with 1, and increments up to n for n impressions).
|
List<String> |
getIframebuster()
Array of names for supported iframe busters.
|
int |
getInstl()
1 if the ad is interstitial or full screen; else 0 (i.e., no).
|
Pmp<?> |
getPmp()
A reference to the PMP object containing any Deals eligible for the impression object.
|
static Class<OpenRtbProtobuf.Impression> |
getProtobufClass()
Returns Protobuf class for this struct.
|
static com.google.protobuf.Descriptors.Descriptor |
getProtobufDescriptor()
Returns Protobuf descriptor for this struct.
|
static Class<AdExchangeProtobuf> |
getProtobufProtocolClass()
Returns Protobuf protocol class for this struct.
|
static com.google.protobuf.Descriptors.FileDescriptor |
getProtobufProtocolDescriptor()
Returns Protobuf protocol descriptor for this struct.
|
int |
getSecure()
Flag to indicate whether the impression requires secure HTTPS URL creative assets and markup.
|
String |
getTagid()
Identifier for specific ad placement or ad tag that was used to initiate the auction.
|
static Class<ImpressionThrift> |
getThriftClass()
Returns Thrift class for this struct.
|
static Map<ImpressionThrift._Fields,FieldMetaData> |
getThriftMetadataMap()
Returns Thrift metadata map for this struct.
|
Video<?> |
getVideo()
A reference to a video object.
|
default boolean |
isDefault()
True if all fields are set to default values.
|
boolean |
isDefaultBanner() |
boolean |
isDefaultBidfloor() |
boolean |
isDefaultBidfloorcur() |
boolean |
isDefaultDisplaymanager() |
boolean |
isDefaultDisplaymanagerver() |
boolean |
isDefaultId() |
boolean |
isDefaultIframebuster() |
boolean |
isDefaultInstl() |
boolean |
isDefaultPmp() |
boolean |
isDefaultSecure() |
boolean |
isDefaultTagid() |
boolean |
isDefaultVideo() |
static Impression.NativeImpl |
nativeImpl(Impression<?> instance)
Returns a POJO based on an instance of Impression.
|
static Impression.Builder<ImpressionAvro> |
newAvroBuilder()
Returns new Avro builder instance with default values.
|
static Impression.Builder<ImpressionAvro> |
newAvroBuilder(Impression<?> other)
Returns new Avro builder instance based on existing prototype Impression.
|
static Impression.Builder<ImpressionAvro> |
newAvroBuilder(ImpressionAvro.Builder other)
Returns new Avro builder instance based on existing prototype builder.
|
static Impression.Builder<ImpressionAvro> |
newAvroBuilder(ImpressionAvro other)
Returns new Avro builder instance based on existing prototype.
|
Impression.Builder<T> |
newBuilder()
Creates a new builder based on this object.
|
static Impression.Builder<Impression.NativeImpl> |
newNativeImplBuilder()
Returns a POJO builder instance with default values.
|
static Impression.Builder<Impression.NativeImpl> |
newNativeImplBuilder(Impression<?> other)
Returns a POJO builder instance based on existing prototype Impression.
|
static Impression.Builder<OpenRtbProtobuf.Impression> |
newProtobufBuilder()
Returns new Protobuf builder instance with default values.
|
static Impression.Builder<OpenRtbProtobuf.Impression> |
newProtobufBuilder(Impression<?> other)
Returns new Protobuf builder instance based on existing prototype Impression.
|
static Impression.Builder<OpenRtbProtobuf.Impression> |
newProtobufBuilder(OpenRtbProtobuf.Impression other)
Returns new Protobuf builder instance based on existing prototype.
|
static Impression.Builder<ImpressionThrift> |
newThriftBuilder()
Returns new Thrift builder instance with default values.
|
static Impression.Builder<ImpressionThrift> |
newThriftBuilder(Impression<?> other)
Returns new Thrift builder instance based on existing prototype Impression.
|
static Impression.Builder<ImpressionThrift> |
newThriftBuilder(ImpressionThrift other)
Returns new Thrift builder instance based on existing prototype.
|
static Impression.Protobuf |
protobuf(Impression<?> instance)
Returns a wrapped Protobuf message based on an instance of Impression.
|
static Impression.Protobuf |
protobuf(OpenRtbProtobuf.Impression wrapped)
Wraps an existing Protobuf message.
|
static Impression.Thrift |
thrift(Impression<?> instance)
Returns a wrapped Thrift struct based on an instance of Impression.
|
static Impression.Thrift |
thrift(ImpressionThrift instance)
Creates a new wrapped Thrift struct copied from an existing instance.
|
default boolean isDefault()
Impression.Builder<T> newBuilder()
String getId()
boolean isDefaultId()
Banner<?> getBanner()
boolean isDefaultBanner()
Video<?> getVideo()
boolean isDefaultVideo()
String getDisplaymanager()
boolean isDefaultDisplaymanager()
String getDisplaymanagerver()
boolean isDefaultDisplaymanagerver()
int getInstl()
boolean isDefaultInstl()
String getTagid()
boolean isDefaultTagid()
double getBidfloor()
boolean isDefaultBidfloor()
String getBidfloorcur()
boolean isDefaultBidfloorcur()
int getSecure()
boolean isDefaultSecure()
List<String> getIframebuster()
boolean isDefaultIframebuster()
Pmp<?> getPmp()
boolean isDefaultPmp()
static Comparator<Impression<?>> getComparator()
default int compareTo(Impression<?> other)
compareTo in interface Comparable<Impression<?>>static Impression.Builder<Impression.NativeImpl> newNativeImplBuilder()
static Impression.Builder<Impression.NativeImpl> newNativeImplBuilder(Impression<?> other)
static Impression.NativeImpl nativeImpl(Impression<?> instance)
static Impression.Builder<ImpressionAvro> newAvroBuilder()
static Impression.Builder<ImpressionAvro> newAvroBuilder(ImpressionAvro other)
static Impression.Builder<ImpressionAvro> newAvroBuilder(ImpressionAvro.Builder other)
static Impression.Builder<ImpressionAvro> newAvroBuilder(Impression<?> other)
static Impression.Avro avro(Impression<?> instance)
static Impression.Avro avro(ImpressionAvro wrapped)
static Class<ImpressionAvro> getAvroClass()
static Schema getAvroSchema()
static Impression.Builder<OpenRtbProtobuf.Impression> newProtobufBuilder()
static Impression.Builder<OpenRtbProtobuf.Impression> newProtobufBuilder(OpenRtbProtobuf.Impression other)
static Impression.Builder<OpenRtbProtobuf.Impression> newProtobufBuilder(Impression<?> other)
static Impression.Protobuf protobuf(Impression<?> instance)
static Impression.Protobuf protobuf(OpenRtbProtobuf.Impression wrapped)
static Class<OpenRtbProtobuf.Impression> getProtobufClass()
static Class<AdExchangeProtobuf> getProtobufProtocolClass()
static com.google.protobuf.Descriptors.Descriptor getProtobufDescriptor()
static com.google.protobuf.Descriptors.FileDescriptor getProtobufProtocolDescriptor()
static Impression.Builder<ImpressionThrift> newThriftBuilder()
static Impression.Builder<ImpressionThrift> newThriftBuilder(ImpressionThrift other)
static Impression.Builder<ImpressionThrift> newThriftBuilder(Impression<?> other)
static Impression.Thrift thrift(Impression<?> instance)
static Impression.Thrift thrift(ImpressionThrift instance)
static Class<ImpressionThrift> getThriftClass()
static Map<ImpressionThrift._Fields,FieldMetaData> getThriftMetadataMap()
Copyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.