Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesUnusableAdGroup
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesUnusableAdGroup
- 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
An AdGroup/Campaign pair that could not be used as a suggestion for keywords. AdGroups may not be usable if the AdGroup * belongs to a Campaign that is not ENABLED or PAUSED * is itself not ENABLED
Instance Attribute Summary collapse
-
#ad_group ⇒ String
The AdGroup resource name.
-
#campaign ⇒ String
The Campaign resource name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesUnusableAdGroup
constructor
A new instance of GoogleAdsSearchads360V23ServicesUnusableAdGroup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesUnusableAdGroup
Returns a new instance of GoogleAdsSearchads360V23ServicesUnusableAdGroup.
55049 55050 55051 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55049 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad_group ⇒ String
The AdGroup resource name. Resource name format: customers/customer_id/
adGroups/ad_group_id`
Corresponds to the JSON propertyadGroup`
55041 55042 55043 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55041 def ad_group @ad_group end |
#campaign ⇒ String
The Campaign resource name. Resource name format: customers/customer_id/
campaigns/campaign_id`
Corresponds to the JSON propertycampaign`
55047 55048 55049 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55047 def campaign @campaign end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
55054 55055 55056 55057 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55054 def update!(**args) @ad_group = args[:ad_group] if args.key?(:ad_group) @campaign = args[:campaign] if args.key?(:campaign) end |