Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonLocalServiceIdInfo

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

A Local Services Ads service ID. Represents a service type (such as install_faucet) that a Local Services Campaign can target.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonLocalServiceIdInfo

Returns a new instance of GoogleAdsSearchads360V23CommonLocalServiceIdInfo.



6982
6983
6984
# File 'lib/google/apis/searchads360_v23/classes.rb', line 6982

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

Instance Attribute Details

#service_idString

The criterion resource name. Corresponds to the JSON property serviceId

Returns:

  • (String)


6980
6981
6982
# File 'lib/google/apis/searchads360_v23/classes.rb', line 6980

def service_id
  @service_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6987
6988
6989
# File 'lib/google/apis/searchads360_v23/classes.rb', line 6987

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