API Method – getAdvertisers
getAdvertisers
Get advertiser information.
API Category
Advertiser
HTTP Method
GET
Request Call Example
HTTP:
GET /api/v2/getAdvertisers?key=yourapikey&status=active&id=1,2,3&manager_id=1 HTTP/1.1
Host: yourapplicationdomain
 
Java:
Unirest.get("http://yourapplicationdomain/api/v2/getAdvertisers?key=yourapikey&status=active&id=1,2,3&manager_id=1").asString();
Parameters

Name Type Description
status String Filter – Advertiser status: Active/Blocked
id String Filter – a list of advertiser ids: 3,123,445
manager_id String Filter – a list of advertiser manager ids: 3,123,445
 
Response

Advertiser Property Description
id Advertiser ID
first_name -
last_name -
status Advertiser Status
 
Sample in JSON:

{
  "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": ""
}