Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleBy Domains

Returns paginated sub-id stats in a given period of time.

Endpoint

Filters

Name

Description

placement

Required

Partner’s placement/zone ID

Example: placement=1111

from

Required

Data start date, support up to three months (Y-m-d)

Example: from=2022-07-01

to

Required

Data end date. (Y-m-d)

Example: to=2022-07-03

page

Optional

Page of results. Left blank by default will return results for the first page.

Example: If you want to go to the second page, please input page=2

Info

When the response contains “hasMore”: true, it means that more results are available on the next page.

Status Codes

Code

Description

200

Returned when successful

400

Returned when the parameter values are not in the expected format

401

Returned when not authorized

403

Returned when access is forbidden

Sample response data

Response Body:

Code Block
languagejson
{
   "itemsCount":1,
   "items":[
    {
      "domain": 2222,
      "clicks": "Sample Advertiser 1",
      "eCPC": 0.0,
      "revenue": 84.3,
      "conversions": 0,
      "bidFloor": 0
    }
   ],
   "hasMore":false,
   "page":1
}

...