Authorizations
A valid API key generated in Topsort's UI.
Path Parameters
The ID of the campaign.
Query Parameters
The pagination offset.
Required range:
x >= 0The pagination limit.
Required range:
0 <= x <= 100curl --request GET \
--url https://api.topsort.com/public/v1/campaign-service/campaigns/{campaign-id}/bids \
--header 'Authorization: Bearer <token>'{
"hasMore": true,
"next": {
"offset": 123,
"limit": 123
},
"bids": [
{
"bidId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": 1,
"target": {
"id": "p_8983",
"type": "product"
},
"isActive": true,
"trigger": {
"type": "<string>",
"value": {
"words": [
"<string>"
],
"matchType": "exact"
}
},
"triggers": [
{
"type": "<string>",
"value": {
"words": [
"<string>"
],
"matchType": "exact"
}
}
],
"location": "Santiago",
"bidsBehaviorData": "<string>",
"campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"formatProperties": {
"bannerAssets": [
{
"url": "<string>",
"contentType": "image/png",
"dimensions": {
"width": 1920,
"height": 1080
},
"size": 123,
"assetId": "asset_01j713j64yfsvtj4bs3ccpy5ca",
"content": {},
"jsonTemplateId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"slotId": "<string>",
"deviceType": "desktop",
"adFormat": "<string>"
},
"state": "active"
}
]
}Endpoint to retrieve all campaign’s bids.
curl --request GET \
--url https://api.topsort.com/public/v1/campaign-service/campaigns/{campaign-id}/bids \
--header 'Authorization: Bearer <token>'{
"hasMore": true,
"next": {
"offset": 123,
"limit": 123
},
"bids": [
{
"bidId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": 1,
"target": {
"id": "p_8983",
"type": "product"
},
"isActive": true,
"trigger": {
"type": "<string>",
"value": {
"words": [
"<string>"
],
"matchType": "exact"
}
},
"triggers": [
{
"type": "<string>",
"value": {
"words": [
"<string>"
],
"matchType": "exact"
}
}
],
"location": "Santiago",
"bidsBehaviorData": "<string>",
"campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"formatProperties": {
"bannerAssets": [
{
"url": "<string>",
"contentType": "image/png",
"dimensions": {
"width": 1920,
"height": 1080
},
"size": 123,
"assetId": "asset_01j713j64yfsvtj4bs3ccpy5ca",
"content": {},
"jsonTemplateId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"slotId": "<string>",
"deviceType": "desktop",
"adFormat": "<string>"
},
"state": "active"
}
]
}A valid API key generated in Topsort's UI.
The ID of the campaign.
The pagination offset.
x >= 0The pagination limit.
0 <= x <= 100Successful Response
Was this page helpful?