IPera Starling | Developer HubIPera Starling | Developer Hub
  • IPera Starling REST API

    • Getting Started
  • Endpoints

    • Access Codes
    • Advertisements
    • Analytics Information
    • Guests
    • Guest Activities
    • Guest Dashboard
    • Guest Devices
    • Guest Sessions
    • Location Information
    • Location Analytics
    • Tenants
    • Users

Advertisements

Get Advertisements List

By using this API endpoint, it is possible to get the list of advertisement.

Please note that you cannot get more than 100 records per request. In case you need to get more than 100 records, then you should make more than one request.

Endpoint

GET /advertisements

Rate Limit

This endpoint has a rate limit of 60 requests per minute.

Parameters

NameTypeDescription
titlestringTitle of the advertisement. Performs text-search.
typeintegerAdvertisement Type:
0: Text
1: Image
urlstringUrl of the advertisement. Performs text-search.
statusintegerAdvertisement Status:
0: Draft
1: Published
tag_idstringTag of the advertisement. Performs text-search with hashed tag id.
start_datedateReturns entries started after the entered starting date (format: yyyy-mm-dd)
end_datedateReturns entries ended before the entered ending date (format: yyyy-mm-dd)
pagestringThe number of page returned. Default is 1.
per_pageintegerThe number of records returned. Default is 25, maximum is 100
order_bystringOrder by field (title, type, method, status)
order_directionstringOrder direction (asc, desc)

Response

Tips

HTTP/1.1 200 OK

{
  "data": [
    {
      "id": "jkDvjePrZ7y",
      "title": "test",
      "type": 0,
      "method": 1,
      "condition_value": 2,
      "impression_count": 0,
      "click_count": 0,
      "status": 1,
      "start_date": "2021-01-24T21:00:00.000000Z",
      "end_date": "2021-02-01T20:59:59.000000Z",
      "tags": []
    },
    {
      "id": "0mqryGZBb4N",
      "title": "Test123",
      "type": 1,
      "method": 1,
      "condition_value": 0,
      "impression_count": 0,
      "click_count": 0,
      "status": 0,
      "start_date": "2021-03-29T21:00:00.000000Z",
      "end_date": "2021-04-06T20:59:59.000000Z",
      "tags": [
        {
          "id": "WZgBAelB9wD",
          "name": "advertisement",
          "group_name": "a"
        }
      ]
    }
  ],
  "links": {
    "first": "[[BaseUrl]]/advertisements?page=1",
    "last": null,
    "prev": null,
    "next": "[[BaseUrl]]/advertisements?page=2"
  },
  "meta": {
    "current_page": 1,
    "from": 1,
    "path": "[[BaseUrl]]/advertisements",
    "per_page": 25,
    "to": 2
  }
}

Get Advertisement Count

By using this API endpoint, it is possible to get the count of the advertisement.

Endpoint

GET /advertisements/count

Rate Limit

This endpoint has a rate limit of 60 requests per minute.

Parameters

NameTypeDescription
titlestringTitle of the advertisement. Performs text-search.
typeintegerAdvertisement Type:
0: Text
1: Image
urlstringUrl of the advertisement. Performs text-search.
statusintegerAdvertisement Status:
0: Draft
1: Published
tag_idstringTag of the advertisement. Performs text-search with hashed tag id.
start_datedateReturns entries started after the entered starting date (format: yyyy-mm-dd)
end_datedateReturns entries ended before the entered ending date (format: yyyy-mm-dd)
order_bystringOrder by field (title, type, method, status)
order_directionstringOrder direction (asc, desc)

Response

Tips

HTTP/1.1 200 OK

{
  "count": 1000
}
Last Updated: 8/11/26, 8:49 PM
Prev
Access Codes
Next
Analytics Information