Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonTargetingSetting
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonTargetingSetting
- 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
-
#target_restrictions ⇒ Array<Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonTargetRestriction>
The per-targeting-dimension setting to restrict the reach of your campaign or ad group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonTargetingSetting
constructor
A new instance of GoogleAdsSearchads360V0CommonTargetingSetting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonTargetingSetting
Returns a new instance of GoogleAdsSearchads360V0CommonTargetingSetting.
2461 2462 2463 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 2461 def initialize(**args) update!(**args) end |
Instance Attribute Details
#target_restrictions ⇒ Array<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
2459 2460 2461 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 2459 def target_restrictions @target_restrictions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2466 2467 2468 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 2466 def update!(**args) @target_restrictions = args[:target_restrictions] if args.key?(:target_restrictions) end |