public static final class Openrtb.NativeRequest extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<Openrtb.NativeRequest> implements Openrtb.NativeRequestOrBuilder
OpenRTB Native 4.1: The Native Object defines the native advertising opportunity available for bid via this bid request. It must be included directly in the impression object if the impression offered for auction is a native ad format.Protobuf type
openrtb.NativeRequest| Modifier and Type | Class and Description |
|---|---|
static class |
Openrtb.NativeRequest.AdUnitId
OpenRTB Native 7.2: Below is a list of the core ad unit ids described by IAB here:
http://www.iab.net/media/file/IABNativeAdvertisingPlaybook120413.pdf
In feed unit is essentially a layout, it has been removed from the list.
|
static class |
Openrtb.NativeRequest.Asset
OpenRTB Native 4.2: The main container object for each asset requested or supported by
Exchange on behalf of the rendering client.
|
static interface |
Openrtb.NativeRequest.AssetOrBuilder |
static class |
Openrtb.NativeRequest.Builder
OpenRTB Native 4.1: The Native Object defines the native advertising opportunity
available for bid via this bid request.
|
static class |
Openrtb.NativeRequest.LayoutId
OpenRTB Native 7.1: Core layouts.
|
com.google.protobuf.GeneratedMessageV3.ExtendableMessage.ExtensionWritercom.google.protobuf.GeneratedMessageV3.BuilderParent, 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 |
ADUNIT_FIELD_NUMBER |
static int |
ASSETS_FIELD_NUMBER |
static int |
LAYOUT_FIELD_NUMBER |
static com.google.protobuf.Parser<Openrtb.NativeRequest> |
PARSER
Deprecated.
|
static int |
PLCMTCNT_FIELD_NUMBER |
static int |
SEQ_FIELD_NUMBER |
static int |
VER_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Openrtb.NativeRequest.AdUnitId |
getAdunit()
The Ad unit ID of the native ad unit.
|
Openrtb.NativeRequest.Asset |
getAssets(int index)
Any bid must comply with the array of elements expressed by the Exchange.
|
int |
getAssetsCount()
Any bid must comply with the array of elements expressed by the Exchange.
|
List<Openrtb.NativeRequest.Asset> |
getAssetsList()
Any bid must comply with the array of elements expressed by the Exchange.
|
Openrtb.NativeRequest.AssetOrBuilder |
getAssetsOrBuilder(int index)
Any bid must comply with the array of elements expressed by the Exchange.
|
List<? extends Openrtb.NativeRequest.AssetOrBuilder> |
getAssetsOrBuilderList()
Any bid must comply with the array of elements expressed by the Exchange.
|
static Openrtb.NativeRequest |
getDefaultInstance() |
Openrtb.NativeRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Openrtb.NativeRequest.LayoutId |
getLayout()
The Layout ID of the native ad unit.
|
com.google.protobuf.Parser<Openrtb.NativeRequest> |
getParserForType() |
int |
getPlcmtcnt()
The number of identical placements in this Layout.
|
int |
getSeq()
0 for the first ad, 1 for the second ad, and so on.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getVer()
Version of the Native Markup version in use.
|
com.google.protobuf.ByteString |
getVerBytes()
Version of the Native Markup version in use.
|
boolean |
hasAdunit()
The Ad unit ID of the native ad unit.
|
int |
hashCode() |
boolean |
hasLayout()
The Layout ID of the native ad unit.
|
boolean |
hasPlcmtcnt()
The number of identical placements in this Layout.
|
boolean |
hasSeq()
0 for the first ad, 1 for the second ad, and so on.
|
boolean |
hasVer()
Version of the Native Markup version in use.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Openrtb.NativeRequest.Builder |
newBuilder() |
static Openrtb.NativeRequest.Builder |
newBuilder(Openrtb.NativeRequest prototype) |
Openrtb.NativeRequest.Builder |
newBuilderForType() |
protected Openrtb.NativeRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Openrtb.NativeRequest |
parseDelimitedFrom(InputStream input) |
static Openrtb.NativeRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.NativeRequest |
parseFrom(byte[] data) |
static Openrtb.NativeRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.NativeRequest |
parseFrom(com.google.protobuf.ByteString data) |
static Openrtb.NativeRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.NativeRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Openrtb.NativeRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.NativeRequest |
parseFrom(InputStream input) |
static Openrtb.NativeRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Openrtb.NativeRequest> |
parser() |
Openrtb.NativeRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getAllFieldsRaw, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasExtension, hasExtension, hasField, makeExtensionsImmutable, newExtensionWriter, newMessageSetExtensionWriter, parseUnknownFieldcomputeStringSize, computeStringSizeNoTag, getDescriptorForType, getOneofFieldDescriptor, hasOneof, internalGetMapField, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtensionpublic static final int VER_FIELD_NUMBER
public static final int LAYOUT_FIELD_NUMBER
public static final int ADUNIT_FIELD_NUMBER
public static final int PLCMTCNT_FIELD_NUMBER
public static final int SEQ_FIELD_NUMBER
public static final int ASSETS_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Openrtb.NativeRequest> 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()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasVer()
Version of the Native Markup version in use.
optional string ver = 1;hasVer in interface Openrtb.NativeRequestOrBuilderpublic String getVer()
Version of the Native Markup version in use.
optional string ver = 1;getVer in interface Openrtb.NativeRequestOrBuilderpublic com.google.protobuf.ByteString getVerBytes()
Version of the Native Markup version in use.
optional string ver = 1;getVerBytes in interface Openrtb.NativeRequestOrBuilderpublic boolean hasLayout()
The Layout ID of the native ad unit. This field is not required, but it's highly recommended.
optional .openrtb.NativeRequest.LayoutId layout = 2;hasLayout in interface Openrtb.NativeRequestOrBuilderpublic Openrtb.NativeRequest.LayoutId getLayout()
The Layout ID of the native ad unit. This field is not required, but it's highly recommended.
optional .openrtb.NativeRequest.LayoutId layout = 2;getLayout in interface Openrtb.NativeRequestOrBuilderpublic boolean hasAdunit()
The Ad unit ID of the native ad unit. This corresponds to one of IAB Core-6 native ad units. This field is not required, but it's highly recommended.
optional .openrtb.NativeRequest.AdUnitId adunit = 3;hasAdunit in interface Openrtb.NativeRequestOrBuilderpublic Openrtb.NativeRequest.AdUnitId getAdunit()
The Ad unit ID of the native ad unit. This corresponds to one of IAB Core-6 native ad units. This field is not required, but it's highly recommended.
optional .openrtb.NativeRequest.AdUnitId adunit = 3;getAdunit in interface Openrtb.NativeRequestOrBuilderpublic boolean hasPlcmtcnt()
The number of identical placements in this Layout.
optional int32 plcmtcnt = 4 [default = 1];hasPlcmtcnt in interface Openrtb.NativeRequestOrBuilderpublic int getPlcmtcnt()
The number of identical placements in this Layout.
optional int32 plcmtcnt = 4 [default = 1];getPlcmtcnt in interface Openrtb.NativeRequestOrBuilderpublic boolean hasSeq()
0 for the first ad, 1 for the second ad, and so on. This is not the sequence number of the content in the stream.
optional int32 seq = 5 [default = 0];hasSeq in interface Openrtb.NativeRequestOrBuilderpublic int getSeq()
0 for the first ad, 1 for the second ad, and so on. This is not the sequence number of the content in the stream.
optional int32 seq = 5 [default = 0];getSeq in interface Openrtb.NativeRequestOrBuilderpublic List<Openrtb.NativeRequest.Asset> getAssetsList()
Any bid must comply with the array of elements expressed by the Exchange.
repeated .openrtb.NativeRequest.Asset assets = 6;getAssetsList in interface Openrtb.NativeRequestOrBuilderpublic List<? extends Openrtb.NativeRequest.AssetOrBuilder> getAssetsOrBuilderList()
Any bid must comply with the array of elements expressed by the Exchange.
repeated .openrtb.NativeRequest.Asset assets = 6;getAssetsOrBuilderList in interface Openrtb.NativeRequestOrBuilderpublic int getAssetsCount()
Any bid must comply with the array of elements expressed by the Exchange.
repeated .openrtb.NativeRequest.Asset assets = 6;getAssetsCount in interface Openrtb.NativeRequestOrBuilderpublic Openrtb.NativeRequest.Asset getAssets(int index)
Any bid must comply with the array of elements expressed by the Exchange.
repeated .openrtb.NativeRequest.Asset assets = 6;getAssets in interface Openrtb.NativeRequestOrBuilderpublic Openrtb.NativeRequest.AssetOrBuilder getAssetsOrBuilder(int index)
Any bid must comply with the array of elements expressed by the Exchange.
repeated .openrtb.NativeRequest.Asset assets = 6;getAssetsOrBuilder in interface Openrtb.NativeRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.ExtendableMessage<Openrtb.NativeRequest>public 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 Openrtb.NativeRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.NativeRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.NativeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.NativeRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.NativeRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static Openrtb.NativeRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Openrtb.NativeRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Openrtb.NativeRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Openrtb.NativeRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Openrtb.NativeRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Openrtb.NativeRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Openrtb.NativeRequest.Builder newBuilder()
public static Openrtb.NativeRequest.Builder newBuilder(Openrtb.NativeRequest prototype)
public Openrtb.NativeRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Openrtb.NativeRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Openrtb.NativeRequest getDefaultInstance()
public static com.google.protobuf.Parser<Openrtb.NativeRequest> parser()
public com.google.protobuf.Parser<Openrtb.NativeRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Openrtb.NativeRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<Openrtb.NativeRequest>getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2017. All rights reserved.