Interface CampaignDurationOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Date range of the campaign.
    Date range of the campaign.
    int
    The duration value in days.
    boolean
    Date range of the campaign.
    boolean
    The duration value in days.

    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

    • hasDurationInDays

      boolean hasDurationInDays()
       The duration value in days.
      
       This field cannot be combined with the date_range field.
       
      optional int32 duration_in_days = 2;
      Returns:
      Whether the durationInDays field is set.
    • getDurationInDays

      int getDurationInDays()
       The duration value in days.
      
       This field cannot be combined with the date_range field.
       
      optional int32 duration_in_days = 2;
      Returns:
      The durationInDays.
    • hasDateRange

      boolean hasDateRange()
       Date range of the campaign.
       Dates are in the yyyy-mm-dd format and inclusive.
       The end date must be < 1 year in the future and the
       date range must be <= 92 days long.
      
       This field cannot be combined with the duration_in_days field.
       
      .google.ads.googleads.v18.common.DateRange date_range = 3;
      Returns:
      Whether the dateRange field is set.
    • getDateRange

      DateRange getDateRange()
       Date range of the campaign.
       Dates are in the yyyy-mm-dd format and inclusive.
       The end date must be < 1 year in the future and the
       date range must be <= 92 days long.
      
       This field cannot be combined with the duration_in_days field.
       
      .google.ads.googleads.v18.common.DateRange date_range = 3;
      Returns:
      The dateRange.
    • getDateRangeOrBuilder

      DateRangeOrBuilder getDateRangeOrBuilder()
       Date range of the campaign.
       Dates are in the yyyy-mm-dd format and inclusive.
       The end date must be < 1 year in the future and the
       date range must be <= 92 days long.
      
       This field cannot be combined with the duration_in_days field.
       
      .google.ads.googleads.v18.common.DateRange date_range = 3;