Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAssetGroupAsset
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAssetGroupAsset
- 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
AssetGroupAsset is the link between an asset and an asset group. Adding an AssetGroupAsset links an asset with an asset group.
Instance Attribute Summary collapse
-
#asset ⇒ String
Immutable.
-
#asset_group ⇒ String
Immutable.
-
#field_type ⇒ String
The description of the placement of the asset within the asset group.
-
#resource_name ⇒ String
Immutable.
-
#status ⇒ String
The status of the link between an asset and asset group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesAssetGroupAsset
constructor
A new instance of GoogleAdsSearchads360V0ResourcesAssetGroupAsset.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesAssetGroupAsset
Returns a new instance of GoogleAdsSearchads360V0ResourcesAssetGroupAsset.
5068 5069 5070 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5068 def initialize(**args) update!(**args) end |
Instance Attribute Details
#asset ⇒ String
Immutable. The asset which this asset group asset is linking.
Corresponds to the JSON property asset
5043 5044 5045 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5043 def asset @asset end |
#asset_group ⇒ String
Immutable. The asset group which this asset group asset is linking.
Corresponds to the JSON property assetGroup
5048 5049 5050 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5048 def asset_group @asset_group end |
#field_type ⇒ String
The description of the placement of the asset within the asset group. For
example: HEADLINE, YOUTUBE_VIDEO etc
Corresponds to the JSON property fieldType
5054 5055 5056 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5054 def field_type @field_type end |
#resource_name ⇒ String
Immutable. The resource name of the asset group asset. Asset group asset
resource name have the form: customers/
customer_id/assetGroupAssets/
asset_group_id~
asset_id~
field_type`
Corresponds to the JSON property
resourceName`
5061 5062 5063 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5061 def resource_name @resource_name end |
#status ⇒ String
The status of the link between an asset and asset group.
Corresponds to the JSON property status
5066 5067 5068 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5066 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5073 5074 5075 5076 5077 5078 5079 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5073 def update!(**args) @asset = args[:asset] if args.key?(:asset) @asset_group = args[:asset_group] if args.key?(:asset_group) @field_type = args[:field_type] if args.key?(:field_type) @resource_name = args[:resource_name] if args.key?(:resource_name) @status = args[:status] if args.key?(:status) end |