class Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1AccountReport
An Account Report of a GLS account identified by their account id containing aggregate data gathered from a particular date range. Next ID: 18
Attributes
Unique identifier of the GLS account. 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]
Average review rating score from 1-5 stars. Corresponds to the JSON property `averageFiveStarRating` @return [Float]
Average weekly budget in the currency code of the account. Corresponds to the JSON property `averageWeeklyBudget` @return [Float]
Business name of the account. Corresponds to the JSON property `businessName` @return [String]
Currency code of the account. Corresponds to the JSON property `currencyCode` @return [String]
Number of charged leads the account received in current specified period. Corresponds to the JSON property `currentPeriodChargedLeads` @return [Fixnum]
Number of connected phone calls (duration over 30s) in current specified period. Corresponds to the JSON property `currentPeriodConnectedPhoneCalls` @return [Fixnum]
Number of phone calls in current specified period, including both connected and unconnected calls. Corresponds to the JSON property `currentPeriodPhoneCalls` @return [Fixnum]
Total cost of the account in current specified period in the account's specified currency. Corresponds to the JSON property `currentPeriodTotalCost` @return [Float]
Number of impressions that customers have had in the past 2 days. Corresponds to the JSON property `impressionsLastTwoDays` @return [Fixnum]
Phone lead responsiveness of the account for the past 90 days from current date. This is computed by taking the total number of connected calls from charged phone leads and dividing by the total number of calls received. Corresponds to the JSON property `phoneLeadResponsiveness` @return [Float]
Number of charged leads the account received in previous specified period. Corresponds to the JSON property `previousPeriodChargedLeads` @return [Fixnum]
Number of connected phone calls (duration over 30s) in previous specified period. Corresponds to the JSON property `previousPeriodConnectedPhoneCalls` @return [Fixnum]
Number of phone calls in previous specified period, including both connected and unconnected calls. Corresponds to the JSON property `previousPeriodPhoneCalls` @return [Fixnum]
Total cost of the account in previous specified period in the account's specified currency. Corresponds to the JSON property `previousPeriodTotalCost` @return [Float]
Total number of reviews the account has up to current date. Corresponds to the JSON property `totalReview` @return [Fixnum]
Public Class Methods
# File lib/google/apis/localservices_v1/classes.rb, line 124 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/localservices_v1/classes.rb, line 129 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @aggregator_info = args[:aggregator_info] if args.key?(:aggregator_info) @average_five_star_rating = args[:average_five_star_rating] if args.key?(:average_five_star_rating) @average_weekly_budget = args[:average_weekly_budget] if args.key?(:average_weekly_budget) @business_name = args[:business_name] if args.key?(:business_name) @currency_code = args[:currency_code] if args.key?(:currency_code) @current_period_charged_leads = args[:current_period_charged_leads] if args.key?(:current_period_charged_leads) @current_period_connected_phone_calls = args[:current_period_connected_phone_calls] if args.key?(:current_period_connected_phone_calls) @current_period_phone_calls = args[:current_period_phone_calls] if args.key?(:current_period_phone_calls) @current_period_total_cost = args[:current_period_total_cost] if args.key?(:current_period_total_cost) @impressions_last_two_days = args[:impressions_last_two_days] if args.key?(:impressions_last_two_days) @phone_lead_responsiveness = args[:phone_lead_responsiveness] if args.key?(:phone_lead_responsiveness) @previous_period_charged_leads = args[:previous_period_charged_leads] if args.key?(:previous_period_charged_leads) @previous_period_connected_phone_calls = args[:previous_period_connected_phone_calls] if args.key?(:previous_period_connected_phone_calls) @previous_period_phone_calls = args[:previous_period_phone_calls] if args.key?(:previous_period_phone_calls) @previous_period_total_cost = args[:previous_period_total_cost] if args.key?(:previous_period_total_cost) @total_review = args[:total_review] if args.key?(:total_review) end