Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignAssetResult

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesMutateCampaignAssetResult

Returns a new instance of GoogleAdsSearchads360V23ServicesMutateCampaignAssetResult.



46707
46708
46709
# File 'lib/google/apis/searchads360_v23/classes.rb', line 46707

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#campaign_assetGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCampaignAsset

A link between a Campaign and an Asset. Corresponds to the JSON property campaignAsset



46700
46701
46702
# File 'lib/google/apis/searchads360_v23/classes.rb', line 46700

def campaign_asset
  @campaign_asset
end

#resource_nameString

Returned for successful operations. Corresponds to the JSON property resourceName

Returns:

  • (String)


46705
46706
46707
# File 'lib/google/apis/searchads360_v23/classes.rb', line 46705

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



46712
46713
46714
46715
# File 'lib/google/apis/searchads360_v23/classes.rb', line 46712

def update!(**args)
  @campaign_asset = args[:campaign_asset] if args.key?(:campaign_asset)
  @resource_name = args[:resource_name] if args.key?(:resource_name)
end