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.



42338
42339
42340
# File 'lib/google/apis/searchads360_v23/classes.rb', line 42338

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



42323
42324
42325
# File 'lib/google/apis/searchads360_v23/classes.rb', line 42323

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)


42329
42330
42331
# File 'lib/google/apis/searchads360_v23/classes.rb', line 42329

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



42336
42337
42338
# File 'lib/google/apis/searchads360_v23/classes.rb', line 42336

def insights_application_info
  @insights_application_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



42343
42344
42345
42346
42347
# File 'lib/google/apis/searchads360_v23/classes.rb', line 42343

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