Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAdGroupAdAssetAutomationSetting

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

Asset automation setting for an AdGroupAd.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesAdGroupAdAssetAutomationSetting

Returns a new instance of GoogleAdsSearchads360V23ResourcesAdGroupAdAssetAutomationSetting.



20402
20403
20404
# File 'lib/google/apis/searchads360_v23/classes.rb', line 20402

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

Instance Attribute Details

#asset_automation_statusString

The opt-in/out status for the specified asset automation type. Corresponds to the JSON property assetAutomationStatus

Returns:

  • (String)


20395
20396
20397
# File 'lib/google/apis/searchads360_v23/classes.rb', line 20395

def asset_automation_status
  @asset_automation_status
end

#asset_automation_typeString

The asset automation type that this setting configures. Corresponds to the JSON property assetAutomationType

Returns:

  • (String)


20400
20401
20402
# File 'lib/google/apis/searchads360_v23/classes.rb', line 20400

def asset_automation_type
  @asset_automation_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20407
20408
20409
20410
# File 'lib/google/apis/searchads360_v23/classes.rb', line 20407

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