public static final class OpenRtbProtobuf.BidResponse extends com.google.protobuf.GeneratedMessageV3 implements OpenRtbProtobuf.BidResponseOrBuilder
4.3.1 Bid Response Object The top-level bid response object is defined below. The “id” attribute is a reflection of the bid request ID for logging purposes. Similarly, “bidid” is an optional response tracking ID for bidders. If specified, it can be included in the subsequent win notice call if the bidder wins. At least one “seatbid” object is required, which contains a bid on at least one impression. Other attributes are optional since an exchange may establish default values. No-Bids on all impressions should be indicated as a HTTP 204 response. For no-bids on specific impressions, the bidder should omit these from the bid response.Protobuf type
open_rtb.BidResponse| Modifier and Type | Class and Description |
|---|---|
static class |
OpenRtbProtobuf.BidResponse.Builder
4.3.1 Bid Response Object
The top-level bid response object is defined below.
|
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
BIDID_FIELD_NUMBER |
static int |
CUR_FIELD_NUMBER |
static int |
CUSTOMDATA_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
NBR_FIELD_NUMBER |
static com.google.protobuf.Parser<OpenRtbProtobuf.BidResponse> |
PARSER
Deprecated.
|
static int |
SEATBID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getBidid()
Bid response ID to assist tracking for bidders.
|
com.google.protobuf.ByteString |
getBididBytes()
Bid response ID to assist tracking for bidders.
|
String |
getCur()
Bid currency using ISO-4217 alphabetic codes; default is “USD”.
|
com.google.protobuf.ByteString |
getCurBytes()
Bid currency using ISO-4217 alphabetic codes; default is “USD”.
|
String |
getCustomdata()
This is an optional feature, which allows a bidder to set data in the exchange’s cookie.
|
com.google.protobuf.ByteString |
getCustomdataBytes()
This is an optional feature, which allows a bidder to set data in the exchange’s cookie.
|
static OpenRtbProtobuf.BidResponse |
getDefaultInstance() |
OpenRtbProtobuf.BidResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getId()
ID of the bid request.
|
com.google.protobuf.ByteString |
getIdBytes()
ID of the bid request.
|
int |
getNbr()
Reason for not bidding.
|
com.google.protobuf.Parser<OpenRtbProtobuf.BidResponse> |
getParserForType() |
OpenRtbProtobuf.SeatBid |
getSeatbid(int index)
Array of seatbid objects.
|
int |
getSeatbidCount()
Array of seatbid objects.
|
List<OpenRtbProtobuf.SeatBid> |
getSeatbidList()
Array of seatbid objects.
|
OpenRtbProtobuf.SeatBidOrBuilder |
getSeatbidOrBuilder(int index)
Array of seatbid objects.
|
List<? extends OpenRtbProtobuf.SeatBidOrBuilder> |
getSeatbidOrBuilderList()
Array of seatbid objects.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBidid()
Bid response ID to assist tracking for bidders.
|
boolean |
hasCur()
Bid currency using ISO-4217 alphabetic codes; default is “USD”.
|
boolean |
hasCustomdata()
This is an optional feature, which allows a bidder to set data in the exchange’s cookie.
|
int |
hashCode() |
boolean |
hasId()
ID of the bid request.
|
boolean |
hasNbr()
Reason for not bidding.
|
boolean |
isInitialized() |
static OpenRtbProtobuf.BidResponse.Builder |
newBuilder() |
static OpenRtbProtobuf.BidResponse.Builder |
newBuilder(OpenRtbProtobuf.BidResponse prototype) |
OpenRtbProtobuf.BidResponse.Builder |
newBuilderForType() |
static OpenRtbProtobuf.BidResponse |
parseDelimitedFrom(InputStream input) |
static OpenRtbProtobuf.BidResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OpenRtbProtobuf.BidResponse |
parseFrom(byte[] data) |
static OpenRtbProtobuf.BidResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OpenRtbProtobuf.BidResponse |
parseFrom(com.google.protobuf.ByteString data) |
static OpenRtbProtobuf.BidResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OpenRtbProtobuf.BidResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static OpenRtbProtobuf.BidResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OpenRtbProtobuf.BidResponse |
parseFrom(InputStream input) |
static OpenRtbProtobuf.BidResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<OpenRtbProtobuf.BidResponse> |
parser() |
OpenRtbProtobuf.BidResponse.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoffindInitializationErrors, getInitializationErrorString, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int ID_FIELD_NUMBER
public static final int SEATBID_FIELD_NUMBER
public static final int BIDID_FIELD_NUMBER
public static final int CUR_FIELD_NUMBER
public static final int CUSTOMDATA_FIELD_NUMBER
public static final int NBR_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<OpenRtbProtobuf.BidResponse> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public boolean hasId()
ID of the bid request.
optional string id = 1;hasId in interface OpenRtbProtobuf.BidResponseOrBuilderpublic String getId()
ID of the bid request.
optional string id = 1;getId in interface OpenRtbProtobuf.BidResponseOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
ID of the bid request.
optional string id = 1;getIdBytes in interface OpenRtbProtobuf.BidResponseOrBuilderpublic List<OpenRtbProtobuf.SeatBid> getSeatbidList()
Array of seatbid objects.
repeated .open_rtb.SeatBid seatbid = 2;getSeatbidList in interface OpenRtbProtobuf.BidResponseOrBuilderpublic List<? extends OpenRtbProtobuf.SeatBidOrBuilder> getSeatbidOrBuilderList()
Array of seatbid objects.
repeated .open_rtb.SeatBid seatbid = 2;getSeatbidOrBuilderList in interface OpenRtbProtobuf.BidResponseOrBuilderpublic int getSeatbidCount()
Array of seatbid objects.
repeated .open_rtb.SeatBid seatbid = 2;getSeatbidCount in interface OpenRtbProtobuf.BidResponseOrBuilderpublic OpenRtbProtobuf.SeatBid getSeatbid(int index)
Array of seatbid objects.
repeated .open_rtb.SeatBid seatbid = 2;getSeatbid in interface OpenRtbProtobuf.BidResponseOrBuilderpublic OpenRtbProtobuf.SeatBidOrBuilder getSeatbidOrBuilder(int index)
Array of seatbid objects.
repeated .open_rtb.SeatBid seatbid = 2;getSeatbidOrBuilder in interface OpenRtbProtobuf.BidResponseOrBuilderpublic boolean hasBidid()
Bid response ID to assist tracking for bidders. This value is chosen by the bidder for cross-reference.
optional string bidid = 3;hasBidid in interface OpenRtbProtobuf.BidResponseOrBuilderpublic String getBidid()
Bid response ID to assist tracking for bidders. This value is chosen by the bidder for cross-reference.
optional string bidid = 3;getBidid in interface OpenRtbProtobuf.BidResponseOrBuilderpublic com.google.protobuf.ByteString getBididBytes()
Bid response ID to assist tracking for bidders. This value is chosen by the bidder for cross-reference.
optional string bidid = 3;getBididBytes in interface OpenRtbProtobuf.BidResponseOrBuilderpublic boolean hasCur()
Bid currency using ISO-4217 alphabetic codes; default is “USD”.
optional string cur = 4 [default = "USD"];hasCur in interface OpenRtbProtobuf.BidResponseOrBuilderpublic String getCur()
Bid currency using ISO-4217 alphabetic codes; default is “USD”.
optional string cur = 4 [default = "USD"];getCur in interface OpenRtbProtobuf.BidResponseOrBuilderpublic com.google.protobuf.ByteString getCurBytes()
Bid currency using ISO-4217 alphabetic codes; default is “USD”.
optional string cur = 4 [default = "USD"];getCurBytes in interface OpenRtbProtobuf.BidResponseOrBuilderpublic boolean hasCustomdata()
This is an optional feature, which allows a bidder to set data in the exchange’s cookie. The string may be in base85 cookie safe characters, and be in any format. This may be useful for storing user features. Note: Proper JSON encoding must be used to include “escaped” quotation marks.
optional string customdata = 5;hasCustomdata in interface OpenRtbProtobuf.BidResponseOrBuilderpublic String getCustomdata()
This is an optional feature, which allows a bidder to set data in the exchange’s cookie. The string may be in base85 cookie safe characters, and be in any format. This may be useful for storing user features. Note: Proper JSON encoding must be used to include “escaped” quotation marks.
optional string customdata = 5;getCustomdata in interface OpenRtbProtobuf.BidResponseOrBuilderpublic com.google.protobuf.ByteString getCustomdataBytes()
This is an optional feature, which allows a bidder to set data in the exchange’s cookie. The string may be in base85 cookie safe characters, and be in any format. This may be useful for storing user features. Note: Proper JSON encoding must be used to include “escaped” quotation marks.
optional string customdata = 5;getCustomdataBytes in interface OpenRtbProtobuf.BidResponseOrBuilderpublic boolean hasNbr()
Reason for not bidding. See Table 6.19 No-Bid Reason Codes.
optional uint32 nbr = 6;hasNbr in interface OpenRtbProtobuf.BidResponseOrBuilderpublic int getNbr()
Reason for not bidding. See Table 6.19 No-Bid Reason Codes.
optional uint32 nbr = 6;getNbr in interface OpenRtbProtobuf.BidResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static OpenRtbProtobuf.BidResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OpenRtbProtobuf.BidResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OpenRtbProtobuf.BidResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OpenRtbProtobuf.BidResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OpenRtbProtobuf.BidResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static OpenRtbProtobuf.BidResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OpenRtbProtobuf.BidResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static OpenRtbProtobuf.BidResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OpenRtbProtobuf.BidResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static OpenRtbProtobuf.BidResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic OpenRtbProtobuf.BidResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static OpenRtbProtobuf.BidResponse.Builder newBuilder()
public static OpenRtbProtobuf.BidResponse.Builder newBuilder(OpenRtbProtobuf.BidResponse prototype)
public OpenRtbProtobuf.BidResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLitepublic static OpenRtbProtobuf.BidResponse getDefaultInstance()
public static com.google.protobuf.Parser<OpenRtbProtobuf.BidResponse> parser()
public com.google.protobuf.Parser<OpenRtbProtobuf.BidResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public OpenRtbProtobuf.BidResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.