Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListPlannableProductsRequest

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 to list available products in a given location.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesListPlannableProductsRequest

Returns a new instance of GoogleAdsSearchads360V23ServicesListPlannableProductsRequest.



43115
43116
43117
# File 'lib/google/apis/searchads360_v23/classes.rb', line 43115

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

Instance Attribute Details

#plannable_location_idString

Required. The ID of the selected location for planning. To list the available plannable location IDs use ReachPlanService.ListPlannableLocations. Corresponds to the JSON property plannableLocationId

Returns:

  • (String)


43106
43107
43108
# File 'lib/google/apis/searchads360_v23/classes.rb', line 43106

def plannable_location_id
  @plannable_location_id
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



43113
43114
43115
# File 'lib/google/apis/searchads360_v23/classes.rb', line 43113

def reach_application_info
  @reach_application_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



43120
43121
43122
43123
# File 'lib/google/apis/searchads360_v23/classes.rb', line 43120

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