AdApi class

Constructors

AdApi([ApiClient? apiClient])

Properties

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

Methods

deleteAdCampaignsById(String id) → Future<void>
Removes one of the caller org's campaigns and answers 204 with no body.
deleteAdCampaignsByIdWithHttpInfo(String id) → Future<Response>
Removes one of the caller org's campaigns and answers 204 with no body.
getAdCampaigns({String? status, int? limit}) → Future<CampaignList?>
Returns the caller org's ad campaigns, most recently updated first, optionally narrowed to one lifecycle status.
getAdCampaignsById(String id) → Future<AdCampaign?>
Returns one of the caller org's campaigns.
getAdCampaignsByIdWithHttpInfo(String id) → Future<Response>
Returns one of the caller org's campaigns.
getAdCampaignsWithHttpInfo({String? status, int? limit}) → Future<Response>
Returns the caller org's ad campaigns, most recently updated first, optionally narrowed to one lifecycle status.
getAdSummary() → Future<AdSummary?>
Rolls the caller org's ad campaigns up into four numbers: how many campaigns exist, how many are active, and the summed budget and spend across all of them.
getAdSummaryWithHttpInfo() → Future<Response>
Rolls the caller org's ad campaigns up into four numbers: how many campaigns exist, how many are active, and the summed budget and spend across all of them.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postAdCampaigns(CampaignInput campaignInput) → Future<AdCampaign?>
Registers a new ad campaign for the caller's org and answers 201 with the stored row.
postAdCampaignsByIdLaunch(String id) → Future<void>
Run one of your stored campaigns on its ad network
postAdCampaignsByIdLaunchWithHttpInfo(String id) → Future<Response>
Run one of your stored campaigns on its ad network
postAdCampaignsWithHttpInfo(CampaignInput campaignInput) → Future<Response>
Registers a new ad campaign for the caller's org and answers 201 with the stored row.
putAdCampaignsById(String id, UpdateCampaignIn updateCampaignIn) → Future<AdCampaign?>
Replaces the user-owned fields of one of the caller org's campaigns and answers the stored row.
putAdCampaignsByIdWithHttpInfo(String id, UpdateCampaignIn updateCampaignIn) → Future<Response>
Replaces the user-owned fields of one of the caller org's campaigns and answers the stored row.
toString() → String
A string representation of this object.
inherited

Operators

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