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

account_id[RW]

Unique identifier of the GLS account. 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]

average_five_star_rating[RW]

Average review rating score from 1-5 stars. Corresponds to the JSON property `averageFiveStarRating` @return [Float]

average_weekly_budget[RW]

Average weekly budget in the currency code of the account. Corresponds to the JSON property `averageWeeklyBudget` @return [Float]

business_name[RW]

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

currency_code[RW]

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

current_period_charged_leads[RW]

Number of charged leads the account received in current specified period. Corresponds to the JSON property `currentPeriodChargedLeads` @return [Fixnum]

current_period_connected_phone_calls[RW]

Number of connected phone calls (duration over 30s) in current specified period. Corresponds to the JSON property `currentPeriodConnectedPhoneCalls` @return [Fixnum]

current_period_phone_calls[RW]

Number of phone calls in current specified period, including both connected and unconnected calls. Corresponds to the JSON property `currentPeriodPhoneCalls` @return [Fixnum]

current_period_total_cost[RW]

Total cost of the account in current specified period in the account's specified currency. Corresponds to the JSON property `currentPeriodTotalCost` @return [Float]

impressions_last_two_days[RW]

Number of impressions that customers have had in the past 2 days. Corresponds to the JSON property `impressionsLastTwoDays` @return [Fixnum]

phone_lead_responsiveness[RW]

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]

previous_period_charged_leads[RW]

Number of charged leads the account received in previous specified period. Corresponds to the JSON property `previousPeriodChargedLeads` @return [Fixnum]

previous_period_connected_phone_calls[RW]

Number of connected phone calls (duration over 30s) in previous specified period. Corresponds to the JSON property `previousPeriodConnectedPhoneCalls` @return [Fixnum]

previous_period_phone_calls[RW]

Number of phone calls in previous specified period, including both connected and unconnected calls. Corresponds to the JSON property `previousPeriodPhoneCalls` @return [Fixnum]

previous_period_total_cost[RW]

Total cost of the account in previous specified period in the account's specified currency. Corresponds to the JSON property `previousPeriodTotalCost` @return [Float]

total_review[RW]

Total number of reviews the account has up to current date. Corresponds to the JSON property `totalReview` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/localservices_v1/classes.rb, line 124
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 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