Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleGeoLocationCondition

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

Condition on Geo dimension.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleGeoLocationCondition

Returns a new instance of GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleGeoLocationCondition.



16605
16606
16607
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16605

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

Instance Attribute Details

#excluded_geo_match_typeString

Excluded Geo location match type. Corresponds to the JSON property excludedGeoMatchType

Returns:

  • (String)


16588
16589
16590
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16588

def excluded_geo_match_type
  @excluded_geo_match_type
end

#excluded_geo_target_constantsArray<String>

Geo locations that advertisers want to exclude. Corresponds to the JSON property excludedGeoTargetConstants

Returns:

  • (Array<String>)


16593
16594
16595
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16593

def excluded_geo_target_constants
  @excluded_geo_target_constants
end

#geo_match_typeString

Included Geo location match type. Corresponds to the JSON property geoMatchType

Returns:

  • (String)


16598
16599
16600
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16598

def geo_match_type
  @geo_match_type
end

#geo_target_constantsArray<String>

Geo locations that advertisers want to include. Corresponds to the JSON property geoTargetConstants

Returns:

  • (Array<String>)


16603
16604
16605
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16603

def geo_target_constants
  @geo_target_constants
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16610
16611
16612
16613
16614
16615
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16610

def update!(**args)
  @excluded_geo_match_type = args[:excluded_geo_match_type] if args.key?(:excluded_geo_match_type)
  @excluded_geo_target_constants = args[:excluded_geo_target_constants] if args.key?(:excluded_geo_target_constants)
  @geo_match_type = args[:geo_match_type] if args.key?(:geo_match_type)
  @geo_target_constants = args[:geo_target_constants] if args.key?(:geo_target_constants)
end