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.



21986
21987
21988
# File 'lib/google/apis/searchads360_v23/classes.rb', line 21986

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)


21979
21980
21981
# File 'lib/google/apis/searchads360_v23/classes.rb', line 21979

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



21984
21985
21986
# File 'lib/google/apis/searchads360_v23/classes.rb', line 21984

def add_asset_details
  @add_asset_details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21991
21992
21993
21994
# File 'lib/google/apis/searchads360_v23/classes.rb', line 21991

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