Interface KeywordForecastMetricsOrBuilder

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

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

    Modifier and Type
    Method
    Description
    long
    Average cost per acquisition calculated as cost_micros / conversions.
    long
    The average cpc.
    double
    The total number of clicks.
    double
    Forecasted number of conversions.
    long
    The total cost.
    boolean
    Average cost per acquisition calculated as cost_micros / conversions.
    boolean
    The average cpc.
    boolean
    The total number of clicks.
    boolean
    Forecasted number of conversions.
    boolean
    The total cost.

    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 Details

    • 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.
       This field is only available if the bidding strategy is
       [MaximizeClicksBiddingStrategy][google.ads.googleads.v24.services.MaximizeClicksBiddingStrategy]
       or
       [ManualCpcBiddingStrategy][google.ads.googleads.v24.services.ManualCpcBiddingStrategy].
       
      optional double clicks = 4;
      Returns:
      Whether the clicks field is set.
    • getClicks

      double getClicks()
       The total number of clicks.
       This field is only available if the bidding strategy is
       [MaximizeClicksBiddingStrategy][google.ads.googleads.v24.services.MaximizeClicksBiddingStrategy]
       or
       [ManualCpcBiddingStrategy][google.ads.googleads.v24.services.ManualCpcBiddingStrategy].
       
      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. This field is only available if
       the bidding strategy is
       [MaximizeConversionsBiddingStrategy][google.ads.googleads.v24.services.MaximizeConversionsBiddingStrategy].
       
      optional double conversions = 6;
      Returns:
      Whether the conversions field is set.
    • getConversions

      double getConversions()
       Forecasted number of conversions. This field is only available if
       the bidding strategy is
       [MaximizeConversionsBiddingStrategy][google.ads.googleads.v24.services.MaximizeConversionsBiddingStrategy].
       
      optional double conversions = 6;
      Returns:
      The conversions.
    • 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.