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.



21926
21927
21928
# File 'lib/google/apis/searchads360_v23/classes.rb', line 21926

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)


21919
21920
21921
# File 'lib/google/apis/searchads360_v23/classes.rb', line 21919

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



21924
21925
21926
# File 'lib/google/apis/searchads360_v23/classes.rb', line 21924

def add_asset_details
  @add_asset_details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21931
21932
21933
21934
# File 'lib/google/apis/searchads360_v23/classes.rb', line 21931

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