Skip to Content
TrackCrest Docs

Get offer

One offer with its conversion events and the revenue for each.

GET
/api/v1/advertiser/offers/{publicId}

Requires scope offers:read.

Authorization

apiKey
headerAuthorizationBearer <token>

An API key: pk_company_… (network), pk_aff_… (affiliate) or pk_adv_… (advertiser). X-Api-Key works too.

Path Parameters

publicId*integer
Formatint32

Response Body

OK

application/json
  1. response
data?
Example Request
curl -X GET 'https://trakcrt.com/api/v1/advertiser/offers/0'
Example Response
{  "data": {    "publicId": 0,    "name": "string",    "status": "string",    "revenueModel": "string",    "revenue": 0,    "revenuePercent": 0,    "currency": "string",    "caps": {      "daily": 0,      "monthly": 0,      "global": 0    },    "targeting": {      "countries": [        "string"      ],      "devices": [        "string"      ],      "operatingSystems": [        "string"      ]    },    "landingUrl": "string",    "previewUrl": "string",    "startsAt": "2019-08-24T14:15:22Z",    "expiresAt": "2019-08-24T14:15:22Z",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "events": [      {        "eventKey": "string",        "name": "string",        "revenue": 0,        "isDefault": true      }    ]  }}