public static final class AdcandidateOuterClass.Bidding extends com.google.protobuf.GeneratedMessage implements AdcandidateOuterClass.BiddingOrBuilder
bid.Bidding
Bidding agents can implement flexible bidding strategies. A bidding strategy consists of attributes that are used by the bidding agent at run time to compute the bid. CPM, CPC and custom bidding strategies are currently available. All price information is represented as micros which is the actual value multiplied by 1 million i.e. 10e+6. The currency used for all fields is specified in the `currency` field, which is set per campaign in buzz. Next Tag: 6
| Modifier and Type | Class and Description |
|---|---|
static class |
AdcandidateOuterClass.Bidding.Builder
Protobuf type
bid.Bidding |
static class |
AdcandidateOuterClass.Bidding.CpcStrategy
Protobuf type
bid.Bidding.CpcStrategy |
static interface |
AdcandidateOuterClass.Bidding.CpcStrategyOrBuilder |
static class |
AdcandidateOuterClass.Bidding.CpmStrategy
Protobuf type
bid.Bidding.CpmStrategy |
static interface |
AdcandidateOuterClass.Bidding.CpmStrategyOrBuilder |
static class |
AdcandidateOuterClass.Bidding.CustomStrategy
Protobuf type
bid.Bidding.CustomStrategy |
static interface |
AdcandidateOuterClass.Bidding.CustomStrategyOrBuilder |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
BID_PRICE_MICROS_FIELD_NUMBER |
static int |
CPC_STRATEGY_FIELD_NUMBER |
static int |
CPM_STRATEGY_FIELD_NUMBER |
static int |
CURRENCY_FIELD_NUMBER |
static int |
CUSTOM_STRATEGY_FIELD_NUMBER |
static com.google.protobuf.Parser<AdcandidateOuterClass.Bidding> |
PARSER
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getBidPriceMicros()
optional uint64 bid_price_micros = 3; |
AdcandidateOuterClass.Bidding.CpcStrategy |
getCpcStrategy()
optional .bid.Bidding.CpcStrategy cpc_strategy = 2; |
AdcandidateOuterClass.Bidding.CpcStrategyOrBuilder |
getCpcStrategyOrBuilder()
optional .bid.Bidding.CpcStrategy cpc_strategy = 2; |
AdcandidateOuterClass.Bidding.CpmStrategy |
getCpmStrategy()
optional .bid.Bidding.CpmStrategy cpm_strategy = 1; |
AdcandidateOuterClass.Bidding.CpmStrategyOrBuilder |
getCpmStrategyOrBuilder()
optional .bid.Bidding.CpmStrategy cpm_strategy = 1; |
CurrencyOuterClass.Currency.Code |
getCurrency()
optional .currency.Currency.Code currency = 5; |
AdcandidateOuterClass.Bidding.CustomStrategy |
getCustomStrategy()
optional .bid.Bidding.CustomStrategy custom_strategy = 4; |
AdcandidateOuterClass.Bidding.CustomStrategyOrBuilder |
getCustomStrategyOrBuilder()
optional .bid.Bidding.CustomStrategy custom_strategy = 4; |
static AdcandidateOuterClass.Bidding |
getDefaultInstance() |
AdcandidateOuterClass.Bidding |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<AdcandidateOuterClass.Bidding> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBidPriceMicros()
optional uint64 bid_price_micros = 3; |
boolean |
hasCpcStrategy()
optional .bid.Bidding.CpcStrategy cpc_strategy = 2; |
boolean |
hasCpmStrategy()
optional .bid.Bidding.CpmStrategy cpm_strategy = 1; |
boolean |
hasCurrency()
optional .currency.Currency.Code currency = 5; |
boolean |
hasCustomStrategy()
optional .bid.Bidding.CustomStrategy custom_strategy = 4; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static AdcandidateOuterClass.Bidding.Builder |
newBuilder() |
static AdcandidateOuterClass.Bidding.Builder |
newBuilder(AdcandidateOuterClass.Bidding prototype) |
AdcandidateOuterClass.Bidding.Builder |
newBuilderForType() |
protected AdcandidateOuterClass.Bidding.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static AdcandidateOuterClass.Bidding |
parseDelimitedFrom(InputStream input) |
static AdcandidateOuterClass.Bidding |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AdcandidateOuterClass.Bidding |
parseFrom(byte[] data) |
static AdcandidateOuterClass.Bidding |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AdcandidateOuterClass.Bidding |
parseFrom(com.google.protobuf.ByteString data) |
static AdcandidateOuterClass.Bidding |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AdcandidateOuterClass.Bidding |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AdcandidateOuterClass.Bidding |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AdcandidateOuterClass.Bidding |
parseFrom(InputStream input) |
static AdcandidateOuterClass.Bidding |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AdcandidateOuterClass.Bidding> |
parser() |
AdcandidateOuterClass.Bidding.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, writeReplace, writeString, writeStringNoTagequals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CPM_STRATEGY_FIELD_NUMBER
public static final int CPC_STRATEGY_FIELD_NUMBER
public static final int CUSTOM_STRATEGY_FIELD_NUMBER
public static final int CURRENCY_FIELD_NUMBER
public static final int BID_PRICE_MICROS_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<AdcandidateOuterClass.Bidding> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic boolean hasCpmStrategy()
optional .bid.Bidding.CpmStrategy cpm_strategy = 1;
Only one of the strategies will be present.
hasCpmStrategy in interface AdcandidateOuterClass.BiddingOrBuilderpublic AdcandidateOuterClass.Bidding.CpmStrategy getCpmStrategy()
optional .bid.Bidding.CpmStrategy cpm_strategy = 1;
Only one of the strategies will be present.
getCpmStrategy in interface AdcandidateOuterClass.BiddingOrBuilderpublic AdcandidateOuterClass.Bidding.CpmStrategyOrBuilder getCpmStrategyOrBuilder()
optional .bid.Bidding.CpmStrategy cpm_strategy = 1;
Only one of the strategies will be present.
getCpmStrategyOrBuilder in interface AdcandidateOuterClass.BiddingOrBuilderpublic boolean hasCpcStrategy()
optional .bid.Bidding.CpcStrategy cpc_strategy = 2;hasCpcStrategy in interface AdcandidateOuterClass.BiddingOrBuilderpublic AdcandidateOuterClass.Bidding.CpcStrategy getCpcStrategy()
optional .bid.Bidding.CpcStrategy cpc_strategy = 2;getCpcStrategy in interface AdcandidateOuterClass.BiddingOrBuilderpublic AdcandidateOuterClass.Bidding.CpcStrategyOrBuilder getCpcStrategyOrBuilder()
optional .bid.Bidding.CpcStrategy cpc_strategy = 2;getCpcStrategyOrBuilder in interface AdcandidateOuterClass.BiddingOrBuilderpublic boolean hasCustomStrategy()
optional .bid.Bidding.CustomStrategy custom_strategy = 4;hasCustomStrategy in interface AdcandidateOuterClass.BiddingOrBuilderpublic AdcandidateOuterClass.Bidding.CustomStrategy getCustomStrategy()
optional .bid.Bidding.CustomStrategy custom_strategy = 4;getCustomStrategy in interface AdcandidateOuterClass.BiddingOrBuilderpublic AdcandidateOuterClass.Bidding.CustomStrategyOrBuilder getCustomStrategyOrBuilder()
optional .bid.Bidding.CustomStrategy custom_strategy = 4;getCustomStrategyOrBuilder in interface AdcandidateOuterClass.BiddingOrBuilderpublic boolean hasCurrency()
optional .currency.Currency.Code currency = 5;hasCurrency in interface AdcandidateOuterClass.BiddingOrBuilderpublic CurrencyOuterClass.Currency.Code getCurrency()
optional .currency.Currency.Code currency = 5;getCurrency in interface AdcandidateOuterClass.BiddingOrBuilderpublic boolean hasBidPriceMicros()
optional uint64 bid_price_micros = 3;
The following fields are for internal use by the bidding agents and will not be set in the request or response.
hasBidPriceMicros in interface AdcandidateOuterClass.BiddingOrBuilderpublic long getBidPriceMicros()
optional uint64 bid_price_micros = 3;
The following fields are for internal use by the bidding agents and will not be set in the request or response.
getBidPriceMicros in interface AdcandidateOuterClass.BiddingOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic static AdcandidateOuterClass.Bidding parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdcandidateOuterClass.Bidding parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdcandidateOuterClass.Bidding parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdcandidateOuterClass.Bidding parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdcandidateOuterClass.Bidding parseFrom(InputStream input) throws IOException
IOExceptionpublic static AdcandidateOuterClass.Bidding parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AdcandidateOuterClass.Bidding parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AdcandidateOuterClass.Bidding parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AdcandidateOuterClass.Bidding parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static AdcandidateOuterClass.Bidding parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic AdcandidateOuterClass.Bidding.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static AdcandidateOuterClass.Bidding.Builder newBuilder()
public static AdcandidateOuterClass.Bidding.Builder newBuilder(AdcandidateOuterClass.Bidding prototype)
public AdcandidateOuterClass.Bidding.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected AdcandidateOuterClass.Bidding.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessagepublic static AdcandidateOuterClass.Bidding getDefaultInstance()
public static com.google.protobuf.Parser<AdcandidateOuterClass.Bidding> parser()
public com.google.protobuf.Parser<AdcandidateOuterClass.Bidding> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic AdcandidateOuterClass.Bidding getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2017. All rights reserved.