Interface KeywordForecastMetricsOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    KeywordForecastMetrics, KeywordForecastMetrics.Builder

    public interface KeywordForecastMetricsOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getAverageCpaMicros()
      Average cost per acquisition calculated as cost_micros / conversions.
      long getAverageCpcMicros()
      The average cpc.
      double getClicks()
      The total number of clicks.
      double getClickThroughRate()
      The average click through rate.
      double getConversionRate()
      Forecasted conversion rate.
      double getConversions()
      Forecasted number of conversions: clicks * conversion_rate.
      long getCostMicros()
      The total cost.
      double getImpressions()
      The total number of impressions.
      boolean hasAverageCpaMicros()
      Average cost per acquisition calculated as cost_micros / conversions.
      boolean hasAverageCpcMicros()
      The average cpc.
      boolean hasClicks()
      The total number of clicks.
      boolean hasClickThroughRate()
      The average click through rate.
      boolean hasConversionRate()
      Forecasted conversion rate.
      boolean hasConversions()
      Forecasted number of conversions: clicks * conversion_rate.
      boolean hasCostMicros()
      The total cost.
      boolean hasImpressions()
      The total number of impressions.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasImpressions

        boolean hasImpressions()
         The total number of impressions.
         
        optional double impressions = 1;
        Returns:
        Whether the impressions field is set.
      • getImpressions

        double getImpressions()
         The total number of impressions.
         
        optional double impressions = 1;
        Returns:
        The impressions.
      • hasClickThroughRate

        boolean hasClickThroughRate()
         The average click through rate. Available only if impressions > 0.
         
        optional double click_through_rate = 2;
        Returns:
        Whether the clickThroughRate field is set.
      • getClickThroughRate

        double getClickThroughRate()
         The average click through rate. Available only if impressions > 0.
         
        optional double click_through_rate = 2;
        Returns:
        The clickThroughRate.
      • hasAverageCpcMicros

        boolean hasAverageCpcMicros()
         The average cpc. Available only if clicks > 0.
         
        optional int64 average_cpc_micros = 3;
        Returns:
        Whether the averageCpcMicros field is set.
      • getAverageCpcMicros

        long getAverageCpcMicros()
         The average cpc. Available only if clicks > 0.
         
        optional int64 average_cpc_micros = 3;
        Returns:
        The averageCpcMicros.
      • hasClicks

        boolean hasClicks()
         The total number of clicks.
         
        optional double clicks = 4;
        Returns:
        Whether the clicks field is set.
      • getClicks

        double getClicks()
         The total number of clicks.
         
        optional double clicks = 4;
        Returns:
        The clicks.
      • hasCostMicros

        boolean hasCostMicros()
         The total cost.
         
        optional int64 cost_micros = 5;
        Returns:
        Whether the costMicros field is set.
      • getCostMicros

        long getCostMicros()
         The total cost.
         
        optional int64 cost_micros = 5;
        Returns:
        The costMicros.
      • hasConversions

        boolean hasConversions()
         Forecasted number of conversions: clicks * conversion_rate.
         
        optional double conversions = 6;
        Returns:
        Whether the conversions field is set.
      • getConversions

        double getConversions()
         Forecasted number of conversions: clicks * conversion_rate.
         
        optional double conversions = 6;
        Returns:
        The conversions.
      • hasConversionRate

        boolean hasConversionRate()
         Forecasted conversion rate.
         
        optional double conversion_rate = 7;
        Returns:
        Whether the conversionRate field is set.
      • getConversionRate

        double getConversionRate()
         Forecasted conversion rate.
         
        optional double conversion_rate = 7;
        Returns:
        The conversionRate.
      • hasAverageCpaMicros

        boolean hasAverageCpaMicros()
         Average cost per acquisition calculated as cost_micros / conversions.
         
        optional int64 average_cpa_micros = 8;
        Returns:
        Whether the averageCpaMicros field is set.
      • getAverageCpaMicros

        long getAverageCpaMicros()
         Average cost per acquisition calculated as cost_micros / conversions.
         
        optional int64 average_cpa_micros = 8;
        Returns:
        The averageCpaMicros.