Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb

Overview

Response message for AudienceInsightsService.ListInsightsEligibleDates.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesResponse

Returns a new instance of GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesResponse.



43008
43009
43010
# File 'lib/google/apis/searchads360_v23/classes.rb', line 43008

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#data_monthsArray<String>

The months for which AudienceInsights data is currently available, each represented as a string in the form "YYYY-MM". Corresponds to the JSON property dataMonths

Returns:

  • (Array<String>)


43001
43002
43003
# File 'lib/google/apis/searchads360_v23/classes.rb', line 43001

def data_months
  @data_months
end

#last_thirty_daysGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonDateRange

A date range. Corresponds to the JSON property lastThirtyDays



43006
43007
43008
# File 'lib/google/apis/searchads360_v23/classes.rb', line 43006

def last_thirty_days
  @last_thirty_days
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



43013
43014
43015
43016
# File 'lib/google/apis/searchads360_v23/classes.rb', line 43013

def update!(**args)
  @data_months = args[:data_months] if args.key?(:data_months)
  @last_thirty_days = args[:last_thirty_days] if args.key?(:last_thirty_days)
end