Query
campaign
Return a single campaign by ID for the current workspace, or null if no such campaign exists here.
Arguments
- id ID! required
- UUID of the campaign to fetch.
Returns
Returns Campaign.
Object, input and enum types open in place — use + to reveal their fields. A type that is already open above the row stops at a ↻ circular marker, and anything nested past the depth limit links out to its own page instead.
- campaignType CampaignType
- What kind of campaign this is; null for a campaign whose type the API does not expose.
- CONTENT_CAPTURE
- Content Capture: Archive adds no posts on its own; the campaign holds exactly the posts you add with updateCampaign(posts:). Read them with items(filter: { campaignsIds: [<campaign id>] }); that list is search-indexed and catches up shortly after a change, so diff against it on a later run, not right after patching. dateStart and dateEnd are optional. No options: send no
settings. - CREATOR_MONITORING
- Creator Monitoring: Archive captures the posts every creator on the roster publishes between dateStart and dateEnd (both required). Options:
settings.creatorMonitoring. - createdAt DateTime!
- When the campaign was created (UTC).
- creatorsCount Int!
- Creators currently on the roster. Creators added through updateCampaign join it once their background import resolves them.
- dateEnd DateTime
- End of the campaign's window (UTC); null when it has none.
- dateStart DateTime
- Start of the campaign's window (UTC); null when it has none.
- externalId String
- The key the campaign was created with through createCampaign; null for a campaign created in the Archive app.
- id ID!
- Unique identifier for the campaign in Archive's system.
- name String!
- Campaign name as shown in Archive.