CampaignsResource class

Constructors

CampaignsResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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 nonexistent method or property is accessed.
inherited
patch(Campaign request, String profileId, String id, {String? $fields}) Future<Campaign>
Updates an existing creative.
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