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.



20536
20537
20538
# File 'lib/google/apis/searchads360_v23/classes.rb', line 20536

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)


20529
20530
20531
# File 'lib/google/apis/searchads360_v23/classes.rb', line 20529

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)


20534
20535
20536
# File 'lib/google/apis/searchads360_v23/classes.rb', line 20534

def asset_automation_type
  @asset_automation_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20541
20542
20543
20544
# File 'lib/google/apis/searchads360_v23/classes.rb', line 20541

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