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.
55975 55976 55977 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55975 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`
55967 55968 55969 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55967 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`
55973 55974 55975 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55973 def campaign @campaign end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
55980 55981 55982 55983 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55980 def update!(**args) @ad_group = args[:ad_group] if args.key?(:ad_group) @campaign = args[:campaign] if args.key?(:campaign) end |