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.



41482
41483
41484
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41482

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)


41468
41469
41470
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41468

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)


41473
41474
41475
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41473

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



41480
41481
41482
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41480

def reach_application_info
  @reach_application_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



41487
41488
41489
41490
41491
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41487

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