public static class Impression.Protobuf extends Object implements Impression<OpenRtbProtobuf.Impression>
Impression.Avro, Impression.AvroBuilder, Impression.Builder<T>, Impression.Comparator, Impression.NativeImpl, Impression.Protobuf, Impression.ProtobufBuilder, Impression.Thrift, Impression.ThriftBuilder| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
Protobuf(byte[] binaryEncoding)
Constructs a new Protobuf instance based on a message's binary encoding.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
static Impression<OpenRtbProtobuf.Impression> |
from(byte[] binaryEncoding)
Decodes a Protobuf message.
|
OpenRtbProtobuf.Impression |
get()
Returns underlying object.
|
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.
|
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.
|
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.
|
Video<?> |
getVideo()
A reference to a video object.
|
int |
hashCode() |
boolean |
isDefaultBanner() |
boolean |
isDefaultBidfloor() |
boolean |
isDefaultBidfloorcur() |
boolean |
isDefaultDisplaymanager() |
boolean |
isDefaultDisplaymanagerver() |
boolean |
isDefaultId() |
boolean |
isDefaultIframebuster() |
boolean |
isDefaultInstl() |
boolean |
isDefaultPmp() |
boolean |
isDefaultSecure() |
boolean |
isDefaultTagid() |
boolean |
isDefaultVideo() |
Impression.Builder<OpenRtbProtobuf.Impression> |
newBuilder()
Creates a new builder based on this object.
|
String |
toString() |
avro, avro, compareTo, getAvroClass, getAvroSchema, getComparator, getProtobufClass, getProtobufDescriptor, getProtobufProtocolClass, getProtobufProtocolDescriptor, getThriftClass, getThriftMetadataMap, isDefault, nativeImpl, newAvroBuilder, newAvroBuilder, newAvroBuilder, newAvroBuilder, newNativeImplBuilder, newNativeImplBuilder, newProtobufBuilder, newProtobufBuilder, newProtobufBuilder, newThriftBuilder, newThriftBuilder, newThriftBuilder, protobuf, protobuf, thrift, thriftpublic static final long serialVersionUID
public Protobuf(byte[] binaryEncoding)
public OpenRtbProtobuf.Impression get()
Impressionget in interface Supplier<OpenRtbProtobuf.Impression>get in interface Impression<OpenRtbProtobuf.Impression>public Impression.Builder<OpenRtbProtobuf.Impression> newBuilder()
ImpressionnewBuilder in interface Impression<OpenRtbProtobuf.Impression>public String getId()
ImpressiongetId in interface Impression<OpenRtbProtobuf.Impression>public boolean isDefaultId()
isDefaultId in interface Impression<OpenRtbProtobuf.Impression>public Banner<?> getBanner()
ImpressiongetBanner in interface Impression<OpenRtbProtobuf.Impression>public boolean isDefaultBanner()
isDefaultBanner in interface Impression<OpenRtbProtobuf.Impression>public Video<?> getVideo()
ImpressiongetVideo in interface Impression<OpenRtbProtobuf.Impression>public boolean isDefaultVideo()
isDefaultVideo in interface Impression<OpenRtbProtobuf.Impression>public String getDisplaymanager()
ImpressiongetDisplaymanager in interface Impression<OpenRtbProtobuf.Impression>public boolean isDefaultDisplaymanager()
isDefaultDisplaymanager in interface Impression<OpenRtbProtobuf.Impression>public String getDisplaymanagerver()
ImpressiongetDisplaymanagerver in interface Impression<OpenRtbProtobuf.Impression>public boolean isDefaultDisplaymanagerver()
isDefaultDisplaymanagerver in interface Impression<OpenRtbProtobuf.Impression>public int getInstl()
ImpressiongetInstl in interface Impression<OpenRtbProtobuf.Impression>public boolean isDefaultInstl()
isDefaultInstl in interface Impression<OpenRtbProtobuf.Impression>public String getTagid()
ImpressiongetTagid in interface Impression<OpenRtbProtobuf.Impression>public boolean isDefaultTagid()
isDefaultTagid in interface Impression<OpenRtbProtobuf.Impression>public double getBidfloor()
ImpressiongetBidfloor in interface Impression<OpenRtbProtobuf.Impression>public boolean isDefaultBidfloor()
isDefaultBidfloor in interface Impression<OpenRtbProtobuf.Impression>public String getBidfloorcur()
ImpressiongetBidfloorcur in interface Impression<OpenRtbProtobuf.Impression>public boolean isDefaultBidfloorcur()
isDefaultBidfloorcur in interface Impression<OpenRtbProtobuf.Impression>public int getSecure()
ImpressiongetSecure in interface Impression<OpenRtbProtobuf.Impression>public boolean isDefaultSecure()
isDefaultSecure in interface Impression<OpenRtbProtobuf.Impression>public List<String> getIframebuster()
ImpressiongetIframebuster in interface Impression<OpenRtbProtobuf.Impression>public boolean isDefaultIframebuster()
isDefaultIframebuster in interface Impression<OpenRtbProtobuf.Impression>public Pmp<?> getPmp()
ImpressiongetPmp in interface Impression<OpenRtbProtobuf.Impression>public boolean isDefaultPmp()
isDefaultPmp in interface Impression<OpenRtbProtobuf.Impression>public static Impression<OpenRtbProtobuf.Impression> from(byte[] binaryEncoding) throws IOException
IOExceptionCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.