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
Identifies account that received the lead. Corresponds to the JSON property `accountId` @return [Fixnum]
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 associated to the account. Corresponds to the JSON property `businessName` @return [String]
Whether the lead has been charged. Corresponds to the JSON property `chargeStatus` @return [String]
Currency code. Corresponds to the JSON property `currencyCode` @return [String]
Dispute status related to the lead. Corresponds to the JSON property `disputeStatus` @return [String]
Location of the associated account's home city. Corresponds to the JSON property `geo` @return [String]
Lead category (e.g. hvac, plumber) Corresponds to the JSON property `leadCategory` @return [String]
Timestamp of when the lead was created. Corresponds to the JSON property `leadCreationTimestamp` @return [String]
Unique identifier of a Detailed Lead Report. Corresponds to the JSON property `leadId` @return [Fixnum]
Price of the lead (available only after it has been charged). Corresponds to the JSON property `leadPrice` @return [Float]
Lead type. Corresponds to the JSON property `leadType` @return [String]
Container for message lead specific information. Corresponds to the JSON property `messageLead` @return [Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1MessageLead]
Container for phone lead specific information. Corresponds to the JSON property `phoneLead` @return [Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1PhoneLead]
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
# File lib/google/apis/localservices_v1/classes.rb, line 253 def initialize(**args) update!(**args) end
Public Instance Methods
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