Interface ConversionRateSuggestionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ConversionRateSuggestion,ConversionRateSuggestion.Builder
public interface ConversionRateSuggestionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiondoubleThe suggested conversion rate.Model type used to calculate the suggested conversion rate.intModel type used to calculate the suggested conversion rate.The code associated with the plannable product (for example: DEMAND_GEN).com.google.protobuf.ByteStringThe code associated with the plannable product (for example: DEMAND_GEN).Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getConversionRateModelValue
int getConversionRateModelValue()Model type used to calculate the suggested conversion rate.
.google.ads.googleads.v20.enums.ReachPlanConversionRateModelEnum.ReachPlanConversionRateModel conversion_rate_model = 1;- Returns:
- The enum numeric value on the wire for conversionRateModel.
-
getConversionRateModel
ReachPlanConversionRateModelEnum.ReachPlanConversionRateModel getConversionRateModel()Model type used to calculate the suggested conversion rate.
.google.ads.googleads.v20.enums.ReachPlanConversionRateModelEnum.ReachPlanConversionRateModel conversion_rate_model = 1;- Returns:
- The conversionRateModel.
-
getPlannableProductCode
String getPlannableProductCode()The code associated with the plannable product (for example: DEMAND_GEN). To list all plannable product codes, use [ReachPlanService.ListPlannableProducts][google.ads.googleads.v20.services.ReachPlanService.ListPlannableProducts].
string plannable_product_code = 2;- Returns:
- The plannableProductCode.
-
getPlannableProductCodeBytes
com.google.protobuf.ByteString getPlannableProductCodeBytes()The code associated with the plannable product (for example: DEMAND_GEN). To list all plannable product codes, use [ReachPlanService.ListPlannableProducts][google.ads.googleads.v20.services.ReachPlanService.ListPlannableProducts].
string plannable_product_code = 2;- Returns:
- The bytes for plannableProductCode.
-
getConversionRate
double getConversionRate()The suggested conversion rate. The value is between 0 and 1 (exclusive).
double conversion_rate = 3;- Returns:
- The conversionRate.
-