Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesKeywordPlanGeoTarget

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 geo target.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesKeywordPlanGeoTarget

Returns a new instance of GoogleAdsSearchads360V23ResourcesKeywordPlanGeoTarget.



30340
30341
30342
# File 'lib/google/apis/searchads360_v23/classes.rb', line 30340

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

Instance Attribute Details

#geo_target_constantString

Required. The resource name of the geo target. Corresponds to the JSON property geoTargetConstant

Returns:

  • (String)


30338
30339
30340
# File 'lib/google/apis/searchads360_v23/classes.rb', line 30338

def geo_target_constant
  @geo_target_constant
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



30345
30346
30347
# File 'lib/google/apis/searchads360_v23/classes.rb', line 30345

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