Campaigns V2

Reorder Audiences

Sets the rank of every audience in a campaign in the order given. Lexorank values are regenerated. audience_ids must contain every audience in the campaign with no duplicates. Requires campaigns:write scope.

put/v2/campaigns/{id}/audiences/order

Path parameters

idstring required

Campaign ID

Campaign ID

Request body

audience_idsstring[] required

Audience IDs in the desired order

Response

Success

idstring required

Unique identifier for the campaign

object'campaign' required

Object type, always campaign

application_idstring required

ID of the application this campaign belongs to

descriptionstring required

Description of the campaign

notesstring nullable required

Internal notes about the campaign

is_legacyboolean required

Whether this is a legacy campaign

is_prioritizedboolean required

Whether this campaign is prioritized for config preloading. At most one campaign per application may be prioritized.

created_atstring required

ISO 8601 timestamp of when the campaign was created

updated_atstring required

ISO 8601 timestamp of when the campaign was last updated

archivedboolean required

Whether the campaign is archived

Changes

No recorded changes to this endpoint across all 1 revision of this API.