Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateConversionRatesRequest

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 ReachPlanService.GenerateConversionRates.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesGenerateConversionRatesRequest

Returns a new instance of GoogleAdsSearchads360V23ServicesGenerateConversionRatesRequest.



40717
40718
40719
# File 'lib/google/apis/searchads360_v23/classes.rb', line 40717

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

Instance Attribute Details

#customer_idString

Required. The ID of the customer. A conversion rate based on the historical data of this customer may be suggested. Corresponds to the JSON property customerId

Returns:

  • (String)


40703
40704
40705
# File 'lib/google/apis/searchads360_v23/classes.rb', line 40703

def customer_id
  @customer_id
end

#customer_reach_groupString

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

Returns:

  • (String)


40708
40709
40710
# File 'lib/google/apis/searchads360_v23/classes.rb', line 40708

def customer_reach_group
  @customer_reach_group
end

#reach_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 reachApplicationInfo



40715
40716
40717
# File 'lib/google/apis/searchads360_v23/classes.rb', line 40715

def reach_application_info
  @reach_application_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



40722
40723
40724
40725
40726
# File 'lib/google/apis/searchads360_v23/classes.rb', line 40722

def update!(**args)
  @customer_id = args[:customer_id] if args.key?(:customer_id)
  @customer_reach_group = args[:customer_reach_group] if args.key?(:customer_reach_group)
  @reach_application_info = args[:reach_application_info] if args.key?(:reach_application_info)
end