Zum Hauptinhalt springen
POST
Create Campaign Restriction

Autorisierungen

Authorization
string
header
erforderlich

A valid API key generated in Topsort's UI. Use the TSE API key if calling auctions or events API, otherwise use the TSC API key.

Pfadparameter

campaign-id
string<uuid>
erforderlich

The ID of the campaign.

Body

application/json

Limit-based restrictions for a campaign.

restrictionTypeId
integer
erforderlich

The type of restriction.

limit
integer
erforderlich

The limit of the restriction.

Antwort

Successful Response

Limit-based restrictions for a campaign.

id
integer
erforderlich

The ID of the restriction.

campaignId
string<uuid>
erforderlich

The ID of the campaign.

marketplaceId
string<uuid>
erforderlich

The ID of the marketplace.

restrictionType
RestrictionTypeResponse · object
erforderlich

The type of restriction.

limit
integer
erforderlich

The limit of the restriction.

createdAt
string<date-time>
erforderlich

The creation date of the restriction.

updatedAt
string<date-time>
erforderlich

The last update date of the restriction.

status
enum<string>
erforderlich

The status of the restriction.

Verfügbare Optionen:
active,
inactive