Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonActivityCountryInfo

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

The country where the travel activity is available.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonActivityCountryInfo

Returns a new instance of GoogleAdsSearchads360V23CommonActivityCountryInfo.



625
626
627
# File 'lib/google/apis/searchads360_v23/classes.rb', line 625

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

Instance Attribute Details

#valueString

String value of the activity country. The Geo Target Constant resource name. Corresponds to the JSON property value

Returns:

  • (String)


623
624
625
# File 'lib/google/apis/searchads360_v23/classes.rb', line 623

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



630
631
632
# File 'lib/google/apis/searchads360_v23/classes.rb', line 630

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