class Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport

A Detailed Lead Report of a lead identified by their lead id and contains consumer, account, monetization, and lead data.

Attributes

account_id[RW]

Identifies account that received the lead. Corresponds to the JSON property `accountId` @return [Fixnum]

aggregator_info[RW]

Conatiner for aggregator specific information if lead is for an aggregator GLS account. Corresponds to the JSON property `aggregatorInfo` @return [Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1AggregatorInfo]

business_name[RW]

Business name associated to the account. Corresponds to the JSON property `businessName` @return [String]

charge_status[RW]

Whether the lead has been charged. Corresponds to the JSON property `chargeStatus` @return [String]

currency_code[RW]

Currency code. Corresponds to the JSON property `currencyCode` @return [String]

dispute_status[RW]

Dispute status related to the lead. Corresponds to the JSON property `disputeStatus` @return [String]

geo[RW]

Location of the associated account's home city. Corresponds to the JSON property `geo` @return [String]

lead_category[RW]

Lead category (e.g. hvac, plumber) Corresponds to the JSON property `leadCategory` @return [String]

lead_creation_timestamp[RW]

Timestamp of when the lead was created. Corresponds to the JSON property `leadCreationTimestamp` @return [String]

lead_id[RW]

Unique identifier of a Detailed Lead Report. Corresponds to the JSON property `leadId` @return [Fixnum]

lead_price[RW]

Price of the lead (available only after it has been charged). Corresponds to the JSON property `leadPrice` @return [Float]

lead_type[RW]

Lead type. Corresponds to the JSON property `leadType` @return [String]

message_lead[RW]

Container for message lead specific information. Corresponds to the JSON property `messageLead` @return [Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1MessageLead]

phone_lead[RW]

Container for phone lead specific information. Corresponds to the JSON property `phoneLead` @return [Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1PhoneLead]

timezone[RW]

Represents a time zone from the [IANA Time Zone Database](www.iana.org/ time-zones). Corresponds to the JSON property `timezone` @return [Google::Apis::LocalservicesV1::GoogleTypeTimeZone]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/localservices_v1/classes.rb, line 253
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/localservices_v1/classes.rb, line 258
def update!(**args)
  @account_id = args[:account_id] if args.key?(:account_id)
  @aggregator_info = args[:aggregator_info] if args.key?(:aggregator_info)
  @business_name = args[:business_name] if args.key?(:business_name)
  @charge_status = args[:charge_status] if args.key?(:charge_status)
  @currency_code = args[:currency_code] if args.key?(:currency_code)
  @dispute_status = args[:dispute_status] if args.key?(:dispute_status)
  @geo = args[:geo] if args.key?(:geo)
  @lead_category = args[:lead_category] if args.key?(:lead_category)
  @lead_creation_timestamp = args[:lead_creation_timestamp] if args.key?(:lead_creation_timestamp)
  @lead_id = args[:lead_id] if args.key?(:lead_id)
  @lead_price = args[:lead_price] if args.key?(:lead_price)
  @lead_type = args[:lead_type] if args.key?(:lead_type)
  @message_lead = args[:message_lead] if args.key?(:message_lead)
  @phone_lead = args[:phone_lead] if args.key?(:phone_lead)
  @timezone = args[:timezone] if args.key?(:timezone)
end