CampaignsResource class Null safety

Constructors

CampaignsResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

get(String profileId, String id, {String? $fields}) Future<Campaign>
Gets one campaign by ID.
insert(Campaign request, String profileId, {String? $fields}) Future<Campaign>
Inserts a new campaign.
list(String profileId, {List<String>? advertiserGroupIds, List<String>? advertiserIds, bool? archived, bool? atLeastOneOptimizationActivity, List<String>? excludedIds, List<String>? ids, int? maxResults, String? overriddenEventTagId, String? pageToken, String? searchString, String? sortField, String? sortOrder, String? subaccountId, String? $fields}) Future<CampaignsListResponse>
Retrieves a list of campaigns, possibly filtered.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
patch(Campaign request, String profileId, String id, {String? $fields}) Future<Campaign>
Updates an existing campaign.
toString() String
A string representation of this object.
inherited
update(Campaign request, String profileId, {String? $fields}) Future<Campaign>
Updates an existing campaign.

Operators

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