Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignDraftResult
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignDraftResult
- 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
The result for the campaign draft mutate.
Instance Attribute Summary collapse
-
#campaign_draft ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCampaignDraft
A campaign draft.
-
#resource_name ⇒ String
Returned for successful operations.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesMutateCampaignDraftResult
constructor
A new instance of GoogleAdsSearchads360V23ServicesMutateCampaignDraftResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesMutateCampaignDraftResult
Returns a new instance of GoogleAdsSearchads360V23ServicesMutateCampaignDraftResult.
46672 46673 46674 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 46672 def initialize(**args) update!(**args) end |
Instance Attribute Details
#campaign_draft ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCampaignDraft
A campaign draft.
Corresponds to the JSON property campaignDraft
46665 46666 46667 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 46665 def campaign_draft @campaign_draft end |
#resource_name ⇒ String
Returned for successful operations.
Corresponds to the JSON property resourceName
46670 46671 46672 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 46670 def resource_name @resource_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
46677 46678 46679 46680 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 46677 def update!(**args) @campaign_draft = args[:campaign_draft] if args.key?(:campaign_draft) @resource_name = args[:resource_name] if args.key?(:resource_name) end |