Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCreditDetails

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

Represents the credit details of a lead.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesCreditDetails

Returns a new instance of GoogleAdsSearchads360V23ResourcesCreditDetails.



27170
27171
27172
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27170

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

Instance Attribute Details

#credit_stateString

Output only. Credit state of the lead. Corresponds to the JSON property creditState

Returns:

  • (String)


27161
27162
27163
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27161

def credit_state
  @credit_state
end

#credit_state_last_update_date_timeString

Output only. The date time when the credit state of the lead was last updated. The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone. Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" Corresponds to the JSON property creditStateLastUpdateDateTime

Returns:

  • (String)


27168
27169
27170
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27168

def credit_state_last_update_date_time
  @credit_state_last_update_date_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



27175
27176
27177
27178
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27175

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