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.



16479
16480
16481
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16479

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)


16462
16463
16464
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16462

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>)


16467
16468
16469
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16467

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)


16472
16473
16474
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16472

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>)


16477
16478
16479
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16477

def geo_target_constants
  @geo_target_constants
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16484
16485
16486
16487
16488
16489
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16484

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