GET
/
public
/
v1
/
campaign-service
/
campaigns
/
{campaign-id}
/
bids
curl --request GET \
  --url https://api.topsort.com/public/v1/campaign-service/campaigns/{campaign-id}/bids
{
  "bids": [
    {
      "amount": 1,
      "bidId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "bidsBehaviorData": "<string>",
      "campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "formatProperties": {
        "adFormat": "banner",
        "bannerAssets": [
          {
            "assetId": "asset_01j713j64yfsvtj4bs3ccpy5ca",
            "contentType": "image/png",
            "dimensions": {
              "height": 1080,
              "width": 1920
            },
            "size": 123,
            "url": "<string>"
          }
        ],
        "deviceType": "desktop",
        "slotId": "<string>"
      },
      "isActive": true,
      "location": "Santiago",
      "state": "active",
      "target": {
        "id": "p_8983",
        "type": "product"
      },
      "trigger": {
        "type": "keyword",
        "value": {
          "matchType": "exact",
          "words": [
            "<string>"
          ]
        }
      },
      "triggers": [
        {
          "type": "keyword",
          "value": {
            "matchType": "exact",
            "words": [
              "<string>"
            ]
          }
        }
      ]
    }
  ],
  "hasMore": true,
  "next": {
    "limit": 123,
    "offset": 123
  }
}

Path Parameters

campaign-id
string
required

The ID of the campaign.

Query Parameters

offset
integer
default:0

The pagination offset.

Required range: x >= 0
limit
integer
default:100

The pagination limit.

Required range: 0 <= x <= 100

Response

200
application/json
Successful Response

The public response body of the bids endpoints.

bids
object[]
required

An array of bids.

Represents an auction bid for a specific entity and a specific maximum amount.

hasMore
boolean
required

Whether this is the last page of results or not.

next
object

The parameters that should be used to fetch the next page.