Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSmartCampaignEndedDetails

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

Details related to Smart campaigns that have ended.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesSmartCampaignEndedDetails

Returns a new instance of GoogleAdsSearchads360V23ServicesSmartCampaignEndedDetails.



54290
54291
54292
# File 'lib/google/apis/searchads360_v23/classes.rb', line 54290

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

Instance Attribute Details

#end_date_timeString

The timestamp of when the campaign ended. The timestamp is in the customer’s timezone and in “yyyy-MM-dd HH:mm:ss” format. Corresponds to the JSON property endDateTime

Returns:

  • (String)


54288
54289
54290
# File 'lib/google/apis/searchads360_v23/classes.rb', line 54288

def end_date_time
  @end_date_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



54295
54296
54297
# File 'lib/google/apis/searchads360_v23/classes.rb', line 54295

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