TopicTrends class

Topic trends fields requested by the merchant in the query.

Field values are only set if the merchant queries TopicTrendsView. Forecast data can be queried up to 13 weeks by passing a future date in the date field. Historical data is measured daily, and forecasted data is projected weekly. All data points are normalized based on the highest data points returned in the response. If you make separate queries with different date ranges, you might see different values for the same date in each response. The recommended way to get a trend score of a topic is last7_days_search_interest / last{$day}_days_search_interest - 1. You can view trends for up to eight topics at a time.

Constructors

TopicTrends({String? customerCountryCode, Date? date, double? last120DaysSearchInterest, double? last30DaysSearchInterest, double? last7DaysSearchInterest, double? last90DaysSearchInterest, double? next7DaysSearchInterest, double? searchInterest, String? topic})
TopicTrends.fromJson(Map json_)

Properties

customerCountryCode String?
Country trends are calculated for.
getter/setter pair
date Date?
Date the trend score was retrieved.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
last7DaysSearchInterest double?
Search interest in the last 7 days, with the same normalization as search_interest.
getter/setter pair
last30DaysSearchInterest double?
Search interest in the last 30 days, with the same normalization as search_interest.
getter/setter pair
last90DaysSearchInterest double?
Search interest in the last 90 days, with the same normalization as search_interest.
getter/setter pair
last120DaysSearchInterest double?
Search interest in the last 120 days, with the same normalization as search_interest.
getter/setter pair
next7DaysSearchInterest double?
Estimated search interest in the next 7 days, with the same normalization as search_interest.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchInterest double?
Daily search interest, normalized to the time and country to make comparisons easier, with 100 representing peak popularity (from 0 to 100) for the requested time period and location.
getter/setter pair
topic String?
Google-provided topic trends are calculated for.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited