Class: Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport
- Inherits:
-
Object
- Object
- Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/localservices_v1/classes.rb,
generated/google/apis/localservices_v1/representations.rb,
generated/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.
247 248 249 |
# File 'generated/google/apis/localservices_v1/classes.rb', line 247 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ Fixnum
Identifies account that received the lead.
Corresponds to the JSON property accountId
173 174 175 |
# File 'generated/google/apis/localservices_v1/classes.rb', line 173 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
179 180 181 |
# File 'generated/google/apis/localservices_v1/classes.rb', line 179 def aggregator_info @aggregator_info end |
#business_name ⇒ String
Business name associated to the account.
Corresponds to the JSON property businessName
184 185 186 |
# File 'generated/google/apis/localservices_v1/classes.rb', line 184 def business_name @business_name end |
#charge_status ⇒ String
Whether the lead has been charged.
Corresponds to the JSON property chargeStatus
189 190 191 |
# File 'generated/google/apis/localservices_v1/classes.rb', line 189 def charge_status @charge_status end |
#currency_code ⇒ String
Currency code.
Corresponds to the JSON property currencyCode
194 195 196 |
# File 'generated/google/apis/localservices_v1/classes.rb', line 194 def currency_code @currency_code end |
#dispute_status ⇒ String
Dispute status related to the lead.
Corresponds to the JSON property disputeStatus
199 200 201 |
# File 'generated/google/apis/localservices_v1/classes.rb', line 199 def dispute_status @dispute_status end |
#geo ⇒ String
Location of the associated account's home city.
Corresponds to the JSON property geo
204 205 206 |
# File 'generated/google/apis/localservices_v1/classes.rb', line 204 def geo @geo end |
#lead_category ⇒ String
Lead category (e.g. hvac, plumber)
Corresponds to the JSON property leadCategory
209 210 211 |
# File 'generated/google/apis/localservices_v1/classes.rb', line 209 def lead_category @lead_category end |
#lead_creation_timestamp ⇒ String
Timestamp of when the lead was created.
Corresponds to the JSON property leadCreationTimestamp
214 215 216 |
# File 'generated/google/apis/localservices_v1/classes.rb', line 214 def @lead_creation_timestamp end |
#lead_id ⇒ Fixnum
Unique identifier of a Detailed Lead Report.
Corresponds to the JSON property leadId
219 220 221 |
# File 'generated/google/apis/localservices_v1/classes.rb', line 219 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
224 225 226 |
# File 'generated/google/apis/localservices_v1/classes.rb', line 224 def lead_price @lead_price end |
#lead_type ⇒ String
Lead type.
Corresponds to the JSON property leadType
229 230 231 |
# File 'generated/google/apis/localservices_v1/classes.rb', line 229 def lead_type @lead_type end |
#message_lead ⇒ Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1MessageLead
Container for message lead specific information.
Corresponds to the JSON property messageLead
234 235 236 |
# File 'generated/google/apis/localservices_v1/classes.rb', line 234 def @message_lead end |
#phone_lead ⇒ Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1PhoneLead
Container for phone lead specific information.
Corresponds to the JSON property phoneLead
239 240 241 |
# File 'generated/google/apis/localservices_v1/classes.rb', line 239 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
245 246 247 |
# File 'generated/google/apis/localservices_v1/classes.rb', line 245 def timezone @timezone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 |
# File 'generated/google/apis/localservices_v1/classes.rb', line 252 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 |