Class: Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport
- Inherits:
-
Object
- Object
- Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/localservices_v1/classes.rb,
lib/google/apis/localservices_v1/representations.rb,
lib/google/apis/localservices_v1/representations.rb
Overview
A Detailed Lead Report of a lead identified by their lead id and contains consumer, account, monetization, and lead data.
Instance Attribute Summary collapse
-
#account_id ⇒ Fixnum
Identifies account that received the lead.
-
#aggregator_info ⇒ Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1AggregatorInfo
Conatiner for aggregator specific information if lead is for an aggregator GLS account.
-
#business_name ⇒ String
Business name associated to the account.
-
#charge_status ⇒ String
Whether the lead has been charged.
-
#currency_code ⇒ String
Currency code.
-
#dispute_status ⇒ String
Dispute status related to the lead.
-
#geo ⇒ String
Location of the associated account's home city.
-
#lead_category ⇒ String
Lead category (e.g. hvac, plumber) Corresponds to the JSON property
leadCategory. -
#lead_creation_timestamp ⇒ String
Timestamp of when the lead was created.
-
#lead_id ⇒ Fixnum
Unique identifier of a Detailed Lead Report.
-
#lead_price ⇒ Float
Price of the lead (available only after it has been charged).
-
#lead_type ⇒ String
Lead type.
-
#message_lead ⇒ Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1MessageLead
Container for message lead specific information.
-
#phone_lead ⇒ Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1PhoneLead
Container for phone lead specific information.
-
#timezone ⇒ Google::Apis::LocalservicesV1::GoogleTypeTimeZone
Represents a time zone from the IANA Time Zone Database.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport
constructor
A new instance of GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport
Returns a new instance of GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport.
253 254 255 |
# File 'lib/google/apis/localservices_v1/classes.rb', line 253 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ Fixnum
Identifies account that received the lead.
Corresponds to the JSON property accountId
179 180 181 |
# File 'lib/google/apis/localservices_v1/classes.rb', line 179 def account_id @account_id end |
#aggregator_info ⇒ Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1AggregatorInfo
Conatiner for aggregator specific information if lead is for an aggregator GLS
account.
Corresponds to the JSON property aggregatorInfo
185 186 187 |
# File 'lib/google/apis/localservices_v1/classes.rb', line 185 def aggregator_info @aggregator_info end |
#business_name ⇒ String
Business name associated to the account.
Corresponds to the JSON property businessName
190 191 192 |
# File 'lib/google/apis/localservices_v1/classes.rb', line 190 def business_name @business_name end |
#charge_status ⇒ String
Whether the lead has been charged.
Corresponds to the JSON property chargeStatus
195 196 197 |
# File 'lib/google/apis/localservices_v1/classes.rb', line 195 def charge_status @charge_status end |
#currency_code ⇒ String
Currency code.
Corresponds to the JSON property currencyCode
200 201 202 |
# File 'lib/google/apis/localservices_v1/classes.rb', line 200 def currency_code @currency_code end |
#dispute_status ⇒ String
Dispute status related to the lead.
Corresponds to the JSON property disputeStatus
205 206 207 |
# File 'lib/google/apis/localservices_v1/classes.rb', line 205 def dispute_status @dispute_status end |
#geo ⇒ String
Location of the associated account's home city.
Corresponds to the JSON property geo
210 211 212 |
# File 'lib/google/apis/localservices_v1/classes.rb', line 210 def geo @geo end |
#lead_category ⇒ String
Lead category (e.g. hvac, plumber)
Corresponds to the JSON property leadCategory
215 216 217 |
# File 'lib/google/apis/localservices_v1/classes.rb', line 215 def lead_category @lead_category end |
#lead_creation_timestamp ⇒ String
Timestamp of when the lead was created.
Corresponds to the JSON property leadCreationTimestamp
220 221 222 |
# File 'lib/google/apis/localservices_v1/classes.rb', line 220 def @lead_creation_timestamp end |
#lead_id ⇒ Fixnum
Unique identifier of a Detailed Lead Report.
Corresponds to the JSON property leadId
225 226 227 |
# File 'lib/google/apis/localservices_v1/classes.rb', line 225 def lead_id @lead_id end |
#lead_price ⇒ Float
Price of the lead (available only after it has been charged).
Corresponds to the JSON property leadPrice
230 231 232 |
# File 'lib/google/apis/localservices_v1/classes.rb', line 230 def lead_price @lead_price end |
#lead_type ⇒ String
Lead type.
Corresponds to the JSON property leadType
235 236 237 |
# File 'lib/google/apis/localservices_v1/classes.rb', line 235 def lead_type @lead_type end |
#message_lead ⇒ Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1MessageLead
Container for message lead specific information.
Corresponds to the JSON property messageLead
240 241 242 |
# File 'lib/google/apis/localservices_v1/classes.rb', line 240 def @message_lead end |
#phone_lead ⇒ Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1PhoneLead
Container for phone lead specific information.
Corresponds to the JSON property phoneLead
245 246 247 |
# File 'lib/google/apis/localservices_v1/classes.rb', line 245 def phone_lead @phone_lead end |
#timezone ⇒ Google::Apis::LocalservicesV1::GoogleTypeTimeZone
Represents a time zone from the IANA Time Zone Database.
Corresponds to the JSON property timezone
251 252 253 |
# File 'lib/google/apis/localservices_v1/classes.rb', line 251 def timezone @timezone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 |
# 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 |