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.



16545
16546
16547
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16545

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)


16528
16529
16530
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16528

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


16533
16534
16535
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16533

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)


16538
16539
16540
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16538

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


16543
16544
16545
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16543

def geo_target_constants
  @geo_target_constants
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16550
16551
16552
16553
16554
16555
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16550

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