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.



27098
27099
27100
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27098

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)


27089
27090
27091
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27089

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)


27096
27097
27098
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27096

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



27103
27104
27105
27106
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27103

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