Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaignAssetSet
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaignAssetSet
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v0/classes.rb,
lib/google/apis/searchads360_v0/representations.rb,
lib/google/apis/searchads360_v0/representations.rb
Overview
CampaignAssetSet is the linkage between a campaign and an asset set. Adding a CampaignAssetSet links an asset set with a campaign.
Instance Attribute Summary collapse
-
#asset_set ⇒ String
Immutable.
-
#campaign ⇒ String
Immutable.
-
#resource_name ⇒ String
Immutable.
-
#status ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesCampaignAssetSet
constructor
A new instance of GoogleAdsSearchads360V0ResourcesCampaignAssetSet.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesCampaignAssetSet
Returns a new instance of GoogleAdsSearchads360V0ResourcesCampaignAssetSet.
5800 5801 5802 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5800 def initialize(**args) update!(**args) end |
Instance Attribute Details
#asset_set ⇒ String
Immutable. The asset set which is linked to the campaign.
Corresponds to the JSON property assetSet
5781 5782 5783 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5781 def asset_set @asset_set end |
#campaign ⇒ String
Immutable. The campaign to which this asset set is linked.
Corresponds to the JSON property campaign
5786 5787 5788 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5786 def campaign @campaign end |
#resource_name ⇒ String
Immutable. The resource name of the campaign asset set. Asset set asset
resource names have the form: customers/customer_id/campaignAssetSets/
campaign_id~asset_set_id`
Corresponds to the JSON propertyresourceName`
5793 5794 5795 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5793 def resource_name @resource_name end |
#status ⇒ String
Output only. The status of the campaign asset set asset. Read-only.
Corresponds to the JSON property status
5798 5799 5800 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5798 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5805 5806 5807 5808 5809 5810 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5805 def update!(**args) @asset_set = args[:asset_set] if args.key?(:asset_set) @campaign = args[:campaign] if args.key?(:campaign) @resource_name = args[:resource_name] if args.key?(:resource_name) @status = args[:status] if args.key?(:status) end |