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).The surfaces associated with the plannable product.The surfaces associated with the plannable product.booleanThe surfaces associated with the plannable product.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.v23.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.v23.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.v23.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.v23.services.ReachPlanService.ListPlannableProducts].
string plannable_product_code = 2;- Returns:
- The bytes for plannableProductCode.
-
hasSurfaceTargeting
boolean hasSurfaceTargeting()The surfaces associated with the plannable product. If not present, the conversion rate is considered surface agnostic for this product.
optional .google.ads.googleads.v23.services.SurfaceTargeting surface_targeting = 4;- Returns:
- Whether the surfaceTargeting field is set.
-
getSurfaceTargeting
SurfaceTargeting getSurfaceTargeting()The surfaces associated with the plannable product. If not present, the conversion rate is considered surface agnostic for this product.
optional .google.ads.googleads.v23.services.SurfaceTargeting surface_targeting = 4;- Returns:
- The surfaceTargeting.
-
getSurfaceTargetingOrBuilder
SurfaceTargetingOrBuilder getSurfaceTargetingOrBuilder()The surfaces associated with the plannable product. If not present, the conversion rate is considered surface agnostic for this product.
optional .google.ads.googleads.v23.services.SurfaceTargeting surface_targeting = 4; -
getConversionRate
double getConversionRate()The suggested conversion rate. The value is between 0 and 1 (exclusive).
double conversion_rate = 3;- Returns:
- The conversionRate.
-