Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAdStrengthActionItem

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

An action item to improve the ad strength of an asset group.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesAdStrengthActionItem

Returns a new instance of GoogleAdsSearchads360V23ResourcesAdStrengthActionItem.



21852
21853
21854
# File 'lib/google/apis/searchads360_v23/classes.rb', line 21852

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

Instance Attribute Details

#action_item_typeString

Output only. The action item type. Corresponds to the JSON property actionItemType

Returns:

  • (String)


21845
21846
21847
# File 'lib/google/apis/searchads360_v23/classes.rb', line 21845

def action_item_type
  @action_item_type
end

#add_asset_detailsGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAdStrengthActionItemAddAssetDetails

The details of the asset to add. Corresponds to the JSON property addAssetDetails



21850
21851
21852
# File 'lib/google/apis/searchads360_v23/classes.rb', line 21850

def add_asset_details
  @add_asset_details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21857
21858
21859
21860
# File 'lib/google/apis/searchads360_v23/classes.rb', line 21857

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