Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonTargetingSetting

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/searchads360_v0/classes.rb,
lib/google/apis/searchads360_v0/representations.rb,
lib/google/apis/searchads360_v0/representations.rb

Overview

Settings for the targeting-related features, at the campaign and ad group levels. For more details about the targeting setting, visit https://support. google.com/google-ads/answer/7365594

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonTargetingSetting

Returns a new instance of GoogleAdsSearchads360V0CommonTargetingSetting.



1479
1480
1481
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1479

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

Instance Attribute Details

#target_restrictionsArray<Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonTargetRestriction>

The per-targeting-dimension setting to restrict the reach of your campaign or ad group. Corresponds to the JSON property targetRestrictions



1477
1478
1479
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1477

def target_restrictions
  @target_restrictions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1484
1485
1486
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1484

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