Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignAssetResult
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignAssetResult
- 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 asset mutate.
Instance Attribute Summary collapse
-
#campaign_asset ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCampaignAsset
A link between a Campaign and an Asset.
-
#resource_name ⇒ String
Returned for successful operations.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesMutateCampaignAssetResult
constructor
A new instance of GoogleAdsSearchads360V23ServicesMutateCampaignAssetResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesMutateCampaignAssetResult
Returns a new instance of GoogleAdsSearchads360V23ServicesMutateCampaignAssetResult.
46014 46015 46016 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 46014 def initialize(**args) update!(**args) end |
Instance Attribute Details
#campaign_asset ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCampaignAsset
A link between a Campaign and an Asset.
Corresponds to the JSON property campaignAsset
46007 46008 46009 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 46007 def campaign_asset @campaign_asset end |
#resource_name ⇒ String
Returned for successful operations.
Corresponds to the JSON property resourceName
46012 46013 46014 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 46012 def resource_name @resource_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
46019 46020 46021 46022 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 46019 def update!(**args) @campaign_asset = args[:campaign_asset] if args.key?(:campaign_asset) @resource_name = args[:resource_name] if args.key?(:resource_name) end |