Expand description
Domain models for the mkt marketing CLI.
All models are provider-agnostic. Each provider crate contains a
mapping module that converts between API-specific representations
and these unified models.
Structs§
- Ad
- A unified ad representation across all providers.
- AdId
- Opaque ad identifier.
- AdSet
- A unified ad set representation across all providers.
- AdSetId
- Opaque ad set identifier.
- Audience
- A unified audience representation across all providers.
- Audience
Id - Opaque audience identifier.
- Audience
Update Result - Result returned after adding or removing users from an audience.
- Audience
User - A single user record for audience membership operations.
- Budget
- A monetary budget.
- Campaign
- A unified campaign representation across all providers.
- Campaign
Filters - Filters for listing campaigns.
- Campaign
Id - Opaque campaign identifier.
- Create
AdSet Input - Input for creating a new ad set.
- Create
Audience Input - Input for creating a new audience.
- Create
Campaign Input - Input for creating a new campaign.
- Create
Creative Input - Input for creating a new creative.
- Create
Dark Post Input - Input for creating a dark post (unpublished page post).
- Creative
- A unified creative representation across all providers.
- Creative
Id - Opaque creative identifier.
- Date
Range - A date range for filtering or reporting.
- Insights
Query - Query parameters for fetching insights.
- Insights
Report - A complete insights report returned by a provider.
- Insights
Row - A single row in an insights report.
- Media
Asset - A unified media asset representation across all providers.
- Media
Asset Id - Opaque media asset identifier.
- Metric
Value - A single metric value, optionally with a pre-formatted string.
- Paginated
- A paginated response wrapper.
- Post
- A unified post representation across all providers.
- PostId
- Opaque post identifier.
- Promote
Post Input - Input for promoting an existing post as a paid ad.
- Provider
Health - Health check result from a provider.
- Publish
Post Input - Input for publishing a new post.
- Update
Campaign Input - Input for updating an existing campaign.
- Upload
Image Input - Input for uploading an image asset.
- Upload
Video Input - Input for uploading a video asset.
Enums§
- AdSet
Status - The lifecycle status of an ad set.
- AdStatus
- The lifecycle status of an ad.
- Audience
Type - The classification of an audience.
- Budget
Kind - The type of budget allocation.
- Campaign
Status - The lifecycle status of a campaign.
- Http
Method - HTTP methods for the raw escape hatch.
- Insights
Level - The aggregation level for an insights report.
- Media
Type - The media format of an asset.