getAdvertisersByManagerId
1.1.1 Summary
Get advertiser information by Advertiser Manager ID and Advertiser Status.1.1.2 Request
Request Method: GETParameters:
Parameter | Description | Type | Data Range | ||
key |
Network API Key; *Required |
string | |||
manager_id |
the manager ID of ddvertiser; Required |
int |
Single Value Example: 5 |
||
status |
Advertiser Status; Optional; Default: All |
string |
All, Pending, Active, Rejected, Blocked |
||
1.1.3 Response
Header:HTTP Status | Object | Description | Error Code |
200 | Success | 0 | |
400 | Parameter: status | Invalid Value of Advertiser Status | 6103 |
Content Format: JSON.
Advertiser Data is represented as a JSON object.
All data form an array of JSON
Advertiser Property | Description |
id | Advertiser ID |
first_name | - |
last_name | - |
status | Advertiser Status |
1.1.4 Example
Sample Request URL:
http://{your_network_domain}/api/v1/getAdvertisersByManagerId?key=603E3F0E3266E&manager_id=4&status=Active
Response sample:
{
"httpStatus": 200,
"data": [
{
"id": "1",
"first_name": "Adv1",
"last_name": "NoManager",
"status": "Active"
},
{
"id": "2",
"first_name": "Adv2",
"last_name": "Manager1",
"status": "Active"
},
{
"id": "3",
"first_name": "Adv3",
"last_name": "Manager2",
"status": "Active"
}
],
"errorCode": 0,
"message": ""
}
|
Close All
API V3
API V2
-
User - Network
-
User - Affiliate
-
Offer
-
Report
-
Dictionary
API V1 (DEPRECATED)