Appearance
Authentication
Authentication
Request
GET
/v2/token
with payload
jsonc
{
"client_secret": "foo",
"client_id": "bar"
}
Response
jsonc
{
"access_token": "temp.token",
"expires_in": 3600,
"token_type": "Bearer"
}
Example with cURL:
curl -H 'Content-Type: application/json' \
-d'{"client_secret": "foo", "client_id": "bar"}' \
https://partners.missena.io/v2/token
Daily revenues
Get revenue for specific day.
Request
GET
/v2/revenues/2022-11-03
Response
jsonc
{
"amount": 0,
"currency": "EUR",
"date": "2022-11-03",
"impressions": 14,
"views": 9,
"revenues": [
{
"amount": 0,
"api_key": "PA-xxxxxx",
"currency": "EUR",
"date": "2022-11-03",
"impressions": 6,
"partner_id": "https://xxx/",
"views": 4
},
{
"amount": 0,
"api_key": "PA-yyyyyy",
"currency": "EUR",
"date": "2022-11-03",
"impressions": 1,
"partner_id": "https://yyy/",
"views": 1
},
{
// ...
}
]
}
Example with cURL:
curl -L -H "Authorization: Bearer temp.token" \
https://partners.missena.io/v2/revenues/2022-11-03
Daily revenues by placement
Get revenue for specific day split by placement.
Request
GET
/v2/revenues-by-placement/2024-02-26
Response
jsonc
{
"amount": 17.9,
"currency": "EUR",
"date": "2024-02-26",
"impressions": 150,
"revenues": [
{
"amount": 1.25,
"api_key": "PA-00000000000",
"placement": "sticky",
"partner_id": "https://xxx/",
"currency": "EUR",
"date": "2024-02-26",
"impressions": 25
},
{
// ...
}
]
}
Example with cURL:
curl -v -L -H "Authorization: Bearer temp.token" \
https://partners.missena.io/v2/revenues-by-placement/2024-02-26
Monthly revenue
Get revenue for specific month.
Request
GET
/v2/revenues/2019-10
Response
jsonc
{
"amount": 0,
"currency": "EUR",
"date": "2022-11",
"impressions": 14,
"views": 9,
"revenues": [
{
"amount": 0,
"api_key": "PA-xxxxxx",
"currency": "EUR",
"date": "2022-11",
"impressions": 5,
"partner_id": "https://xxx/",
"views": 4
},
{
"amount": 0,
"api_key": "PA-yyyyyy",
"currency": "EUR",
"date": "2022-11",
"impressions": 1,
"partner_id": "https://yyy/",
"views": 1
},
{
// ...
}
]
}
Example with cURL:
curl -L -H "Authorization: Bearer temp.token" \
https://partners.missena.io/v2/revenues/2022-11
Monthly revenues by placement
Get revenue for specific month split by placement.
Request
GET
/v2/revenues-by-placement/2024-02
Response
jsonc
{
"amount": 17.9,
"currency": "EUR",
"date": "2024-02",
"impressions": 150,
"revenues": [
{
"amount": 1.25,
"api_key": "PA-00000000000",
"placement": "sticky",
"currency": "EUR",
"partner_id": "https://xxx/",
"date": "2024-02-26",
"impressions": 25
},
{
// ...
}
]
}
Example with cURL:
curl -v -L -H "Authorization: Bearer temp.token" \
https://partners.missena.io/v2/revenues-by-placement/2024-02
API version
Request
GET
/version
Response
jsonc
{
"application": "croquet",
"started_since": "5h4m3s",
"version": "d670460b4b4aece5915caf5c68d12f560a9fe3e4"
}
Daily revenues
Get revenue for specific day.
Request
GET
/v2/revenues/2022-11-03
Response
jsonc
{
"amount": 0,
"currency": "EUR",
"date": "2022-11-03",
"impressions": 14,
"views": 9,
"revenues": [
{
"amount": 0,
"api_key": "PA-xxxxxx",
"currency": "EUR",
"date": "2022-11-03",
"impressions": 6,
"partner_id": "https://xxx/",
"views": 4
},
{
"amount": 0,
"api_key": "PA-yyyyyy",
"currency": "EUR",
"date": "2022-11-03",
"impressions": 1,
"partner_id": "https://yyy/",
"views": 1
},
{
// ...
}
]
}
Example with cURL:
curl -L -H "Authorization: Bearer temp.token" \
https://partners.missena.io/v2/revenues/2022-11-03
Daily revenues by placement
Get revenue for specific day split by placement.
Request
GET
/v2/revenues-by-placement/2024-02-26
Response
jsonc
{
"amount": 17.9,
"currency": "EUR",
"date": "2024-02-26",
"impressions": 150,
"revenues": [
{
"amount": 1.25,
"api_key": "PA-00000000000",
"placement": "sticky",
"partner_id": "https://xxx/",
"currency": "EUR",
"date": "2024-02-26",
"impressions": 25
},
{
// ...
}
]
}
Example with cURL:
curl -v -L -H "Authorization: Bearer temp.token" \
https://partners.missena.io/v2/revenues-by-placement/2024-02-26
Monthly revenue
Get revenue for specific month.
Request
GET
/v2/revenues/2019-10
Response
jsonc
{
"amount": 0,
"currency": "EUR",
"date": "2022-11",
"impressions": 14,
"views": 9,
"revenues": [
{
"amount": 0,
"api_key": "PA-xxxxxx",
"currency": "EUR",
"date": "2022-11",
"impressions": 5,
"partner_id": "https://xxx/",
"views": 4
},
{
"amount": 0,
"api_key": "PA-yyyyyy",
"currency": "EUR",
"date": "2022-11",
"impressions": 1,
"partner_id": "https://yyy/",
"views": 1
},
{
// ...
}
]
}
Example with cURL:
curl -L -H "Authorization: Bearer temp.token" \
https://partners.missena.io/v2/revenues/2022-11
Monthly revenues by placement
Get revenue for specific month split by placement.
Request
GET
/v2/revenues-by-placement/2024-02
Response
jsonc
{
"amount": 17.9,
"currency": "EUR",
"date": "2024-02",
"impressions": 150,
"revenues": [
{
"amount": 1.25,
"api_key": "PA-00000000000",
"placement": "sticky",
"currency": "EUR",
"partner_id": "https://xxx/",
"date": "2024-02-26",
"impressions": 25
},
{
// ...
}
]
}
Example with cURL:
curl -v -L -H "Authorization: Bearer temp.token" \
https://partners.missena.io/v2/revenues-by-placement/2024-02
API version
Request
GET
/version
Response
jsonc
{
"application": "croquet",
"started_since": "5h4m3s",
"version": "d670460b4b4aece5915caf5c68d12f560a9fe3e4"
}