GET
/
public
/
v1
/
campaign-service
/
restriction-types
/
{restriction-type-id}
curl --request GET \
  --url https://api.topsort.com/public/v1/campaign-service/restriction-types/{restriction-type-id}
{
  "frequencyType": "daily",
  "id": 123,
  "interactionType": "impressions",
  "level": "campaign"
}

Path Parameters

restriction-type-id
integer
required

Restriction type ID.

Response

200
application/json
Successful Response

The type of restriction.

frequencyType
enum<string>
required

The frequency type of the restriction.

Available options:
daily,
weekly,
monthly
id
integer
required

The ID of the restriction.

interactionType
enum<string>
required

The interaction type of the restriction.

Available options:
impressions,
clicks,
conversions
level
enum<string>
required

The level of the restriction.

Available options:
campaign,
bid