Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdResult
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdResult
- 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 ad mutate.
Instance Attribute Summary collapse
-
#ad ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAd
An ad.
-
#resource_name ⇒ String
The resource name returned for successful operations.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesMutateAdResult
constructor
A new instance of GoogleAdsSearchads360V23ServicesMutateAdResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesMutateAdResult
Returns a new instance of GoogleAdsSearchads360V23ServicesMutateAdResult.
44757 44758 44759 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 44757 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAd
An ad.
Corresponds to the JSON property ad
44750 44751 44752 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 44750 def ad @ad end |
#resource_name ⇒ String
The resource name returned for successful operations.
Corresponds to the JSON property resourceName
44755 44756 44757 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 44755 def resource_name @resource_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
44762 44763 44764 44765 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 44762 def update!(**args) @ad = args[:ad] if args.key?(:ad) @resource_name = args[:resource_name] if args.key?(:resource_name) end |