Campaign Access
Assign Publisher's to Private and Permission Campaigns
HTTP method
EndPoint
POST
/campaign/assign-publisher

Request body example

1
curl -X POST \
2
https://api.trackier.com/campaign/assign-publisher \
3
-H 'Accept: */*' \
4
-H 'Cache-Control: no-cache' \
5
-H 'Connection: keep-alive' \
6
-H 'Content-Type: application/json' \
7
-H 'Host: restapi.trackier.io' \
8
-H 'Postman-Token: ff3d4264-49ec-4fe6-a9b9-a2d9821c5d26,71f3c0da-a1ae-429f-a398-98bbaa44c748' \
9
-H 'User-Agent: PostmanRuntime/7.13.0' \
10
-H 'X-Api-Key: {API-KEY}' \
11
-H 'accept-encoding: gzip, deflate' \
12
-H 'cache-control: no-cache' \
13
-H 'content-length: 97' \
14
-H 'cookie: __cfduid=de429619278fbd4b65dbadb6a65cea3d41551186229; PHPSESSID=vosaiu4kd28qno7gkfm4gvl3k6' \
15
-b '__cfduid=de429619278fbd4b65dbadb6a65cea3d41551186229; PHPSESSID=vosaiu4kd28qno7gkfm4gvl3k6' \
16
-d '{
17
"publisher_ids": ["5c9dca40b6920d57e15f1aa0"],
18
"campaign_ids": ["5c9dd7fcb6920d676c65b14d"]
19
}'
Copied!

Response Body

1
{
2
"data": {
3
"message": "Campaign Access Granted",
4
},
5
"success": boolean
6
}
Copied!

Request body parameters

Field
Type
Description
Nullable
publisher_ids
array
List of Publisher Long ID's
No
campaign_ids
array
List of Campaign Long ID's
No
​
​
​
​
Last modified 1yr ago