AdSet class

An ad set, by the platform's id. Read live, never stored.

Constructors

AdSet({required String id, required String name, required String status, String? campaignId, String? effectiveStatus, int? budgetMinor, String? budgetType, String? endAt, String? optimizationGoal, String? createdAt, List<NetworkAd> ads = const []})
Creates an ad set.
const
AdSet.fromJson(Map<String, dynamic> json)
Reads an ad set.
factory

Properties

ads → List<NetworkAd>
Its ads; filled only in accountTree.
final
budgetMinor → int?
The budget, in minor units of the ad account's currency.
final
budgetType → String?
One of AdBudgetType.
final
campaignId → String?
The campaign it sits in.
final
createdAt → String?
When it was created, as the platform formats it.
final
effectiveStatus → String?
The status the platform reports.
final
endAt → String?
When a lifetime budget stops, as the platform formats it.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
The platform's ad set id.
final
name → String
The ad set's name.
final
optimizationGoal → String?
What the platform optimizes delivery for.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → String
The status set on the platform.
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