AdInsightsReport class

Insights for one campaign, ad set or ad over a date range.

Constructors

AdInsightsReport({required String objectId, required String since, required String until, String? currency, String? breakdownBy, InsightsMetrics? totals, List<InsightsRow> breakdown = const [], List<InsightsRow> timeline = const []})
Creates a report.
const
AdInsightsReport.fromJson(Map<String, dynamic> json)
Reads a report.
factory

Properties

breakdown → List<InsightsRow>
One row per slice, when the report is split.
final
breakdownBy → String?
One of AdInsightsBreakdown, when the report is split.
final
currency → String?
The ad account's currency.
final
hashCode → int
The hash code for this object.
no setterinherited
objectId → String
The object the report is for.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
since → String
The first day, YYYY-MM-DD.
final
timeline → List<InsightsRow>
One row per day, when asked for daily.
final
totals → InsightsMetrics?
The totals; null when nothing was delivered.
final
until → String
The last day, YYYY-MM-DD.
final

Methods

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

Operators

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