public static final class AdcandidateOuterClass.Bidding extends com.google.protobuf.GeneratedMessageV3 implements AdcandidateOuterClass.BiddingOrBuilder
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: 6Protobuf type
bid.Bidding| Modifier and Type | Class and Description |
|---|---|
static class |
AdcandidateOuterClass.Bidding.Builder
Bidding agents can implement flexible bidding strategies.
|
static class |
AdcandidateOuterClass.Bidding.CpcStrategy
CPC: Optimize towards a cost per click goal.
|
static interface |
AdcandidateOuterClass.Bidding.CpcStrategyOrBuilder |
static class |
AdcandidateOuterClass.Bidding.CpmStrategy
CPM: Always bid a flat price on all matched requests.
|
static interface |
AdcandidateOuterClass.Bidding.CpmStrategyOrBuilder |
static class |
AdcandidateOuterClass.Bidding.CustomStrategy
Custom strategy is defined using Buzz API.
|
static interface |
AdcandidateOuterClass.Bidding.CustomStrategyOrBuilder |
com.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 |
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 |
|---|---|
boolean |
equals(Object obj) |
long |
getBidPriceMicros()
The following fields are for internal use by the bidding agents and
will not be set in the request or response.
|
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()
Only one of the strategies will be present.
|
AdcandidateOuterClass.Bidding.CpmStrategyOrBuilder |
getCpmStrategyOrBuilder()
Only one of the strategies will be present.
|
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()
The following fields are for internal use by the bidding agents and
will not be set in the request or response.
|
boolean |
hasCpcStrategy()
optional .bid.Bidding.CpcStrategy cpc_strategy = 2; |
boolean |
hasCpmStrategy()
Only one of the strategies will be present.
|
boolean |
hasCurrency()
optional .currency.Currency.Code currency = 5; |
boolean |
hasCustomStrategy()
optional .bid.Bidding.CustomStrategy custom_strategy = 4; |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, 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, 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.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasCpmStrategy()
Only one of the strategies will be present.
optional .bid.Bidding.CpmStrategy cpm_strategy = 1;hasCpmStrategy in interface AdcandidateOuterClass.BiddingOrBuilderpublic AdcandidateOuterClass.Bidding.CpmStrategy getCpmStrategy()
Only one of the strategies will be present.
optional .bid.Bidding.CpmStrategy cpm_strategy = 1;getCpmStrategy in interface AdcandidateOuterClass.BiddingOrBuilderpublic AdcandidateOuterClass.Bidding.CpmStrategyOrBuilder getCpmStrategyOrBuilder()
Only one of the strategies will be present.
optional .bid.Bidding.CpmStrategy cpm_strategy = 1;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()
The following fields are for internal use by the bidding agents and will not be set in the request or response.
optional uint64 bid_price_micros = 3;hasBidPriceMicros in interface AdcandidateOuterClass.BiddingOrBuilderpublic long getBidPriceMicros()
The following fields are for internal use by the bidding agents and will not be set in the request or response.
optional uint64 bid_price_micros = 3;getBidPriceMicros in interface AdcandidateOuterClass.BiddingOrBuilderpublic 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 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.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public 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.GeneratedMessageV3public AdcandidateOuterClass.Bidding getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2017. All rights reserved.