Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsRequest

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

Request message for AudienceInsightsService.GenerateTargetingSuggestionMetrics.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsRequest

Returns a new instance of GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsRequest.



41573
41574
41575
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41573

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

Instance Attribute Details

#audiencesArray<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesInsightsAudience>

Required. Audiences to request metrics for. Corresponds to the JSON property audiences



41558
41559
41560
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41558

def audiences
  @audiences
end

#customer_insights_groupString

Optional. The name of the customer being planned for. This is a user-defined value. Corresponds to the JSON property customerInsightsGroup

Returns:

  • (String)


41564
41565
41566
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41564

def customer_insights_group
  @customer_insights_group
end

#insights_application_infoGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonAdditionalApplicationInfo

Additional information about the application/tool issuing the request. This field is only used by ContentCreatorInsightsService, AudienceInsightsService, and ReachPlanService APIs. Corresponds to the JSON property insightsApplicationInfo



41571
41572
41573
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41571

def insights_application_info
  @insights_application_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



41578
41579
41580
41581
41582
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41578

def update!(**args)
  @audiences = args[:audiences] if args.key?(:audiences)
  @customer_insights_group = args[:customer_insights_group] if args.key?(:customer_insights_group)
  @insights_application_info = args[:insights_application_info] if args.key?(:insights_application_info)
end