Endpoint to get campaign restrictions.
curl --request GET \
--url https://api.topsort.com/public/v1/campaign-service/campaigns/{campaign-id}/restrictions
{
"restrictions": [
{
"campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"id": 123,
"limit": 123,
"marketplaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"restrictionType": {
"frequencyType": "daily",
"id": 123,
"interactionType": "impressions",
"level": "campaign"
},
"status": "active",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}
The ID of the campaign.
Successful Response
The response is of type object
.
curl --request GET \
--url https://api.topsort.com/public/v1/campaign-service/campaigns/{campaign-id}/restrictions
{
"restrictions": [
{
"campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"id": 123,
"limit": 123,
"marketplaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"restrictionType": {
"frequencyType": "daily",
"id": 123,
"interactionType": "impressions",
"level": "campaign"
},
"status": "active",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}
Endpoint to get campaign restrictions.
curl --request GET \
--url https://api.topsort.com/public/v1/campaign-service/campaigns/{campaign-id}/restrictions
{
"restrictions": [
{
"campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"id": 123,
"limit": 123,
"marketplaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"restrictionType": {
"frequencyType": "daily",
"id": 123,
"interactionType": "impressions",
"level": "campaign"
},
"status": "active",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}
The ID of the campaign.
Successful Response
The response is of type object
.
curl --request GET \
--url https://api.topsort.com/public/v1/campaign-service/campaigns/{campaign-id}/restrictions
{
"restrictions": [
{
"campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"id": 123,
"limit": 123,
"marketplaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"restrictionType": {
"frequencyType": "daily",
"id": 123,
"interactionType": "impressions",
"level": "campaign"
},
"status": "active",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}