Get information about a specific offer’s platform
HTTP method
Endpoint
GET
/aff/v1/offers/{offer_id}/platforms

Path parameters

Parameter
Description
offer_id
The unique id for the offer.

Response body parameters

Field
Type
Description
id
integer
offer_id
integer
A string that uniquely identifies this offer.
platform
string
Devices to be targeted, it might be PC/Mobile/Tablet.
system
string
Operating System in Device. By default it allows all OS in targeted platform.
version
array
Version of the system. By default it allows all versions in targeted system.
is_above
integer
A new field, is_above, is added to offer platform to support upper compatibility in platform. When new platform versions are upgraded, the traffic won’t be rejected. Allowed values: 0 Close; 1 Open

Example request

Example response

1
{
2
"code": 0,
3
"message": "Success",
4
"data": {
5
"offer_platform": {
6
"target": [
7
{
8
"id": 510,
9
"offer_id": 16,
10
"platform": "PC",
11
"system": "Windows",
12
"version": [
13
"Windows 8",
14
"Windows 7",
15
"Windows 10"
16
],
17
"is_above": 1
18
},
19
{
20
"id": 511,
21
"offer_id": 16,
22
"platform": "Mobile",
23
"system": "Android",
24
"version": [
25
"4.3",
26
"4.4",
27
"5.0",
28
"5.1",
29
"6.0"
30
],
31
"is_above": 1
32
},
33
{
34
"id": 512,
35
"offer_id": 16,
36
"platform": "Mobile",
37
"system": "iOS",
38
"version": [
39
"7.0",
40
"7.1",
41
"8.0",
42
"8.1",
43
"8.2",
44
"8.3",
45
"8.4",
46
"9.0",
47
"9.1",
48
"9.2",
49
"9.3"
50
],
51
"is_above": 1
52
}
53
]
54
}
55
}
56
}
Copied!
Last modified 1yr ago