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.



41410
41411
41412
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41410

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)


41396
41397
41398
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41396

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)


41401
41402
41403
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41401

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



41408
41409
41410
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41408

def reach_application_info
  @reach_application_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



41415
41416
41417
41418
41419
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41415

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