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.



20476
20477
20478
# File 'lib/google/apis/searchads360_v23/classes.rb', line 20476

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)


20469
20470
20471
# File 'lib/google/apis/searchads360_v23/classes.rb', line 20469

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)


20474
20475
20476
# File 'lib/google/apis/searchads360_v23/classes.rb', line 20474

def asset_automation_type
  @asset_automation_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20481
20482
20483
20484
# File 'lib/google/apis/searchads360_v23/classes.rb', line 20481

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