Tag Impression Api

Endpoint: http://amr-api.admost.com/api/publisher/v1/tagimpression

METHOD : POST

Request Parameters

NameTypeDescription
apiKeystringPublisher’s token
startdatestringStart date (yyyy-MM-dd)
enddatestringEnd date (yyyy-MM-dd)
groupBystringComma seperated values (day, app, zone, tag, country, placement)
appsstringFilters app ids (comma seperated, can be found on Admost Dashboard -> My Apps)
appTypestringFilters app type (Allowed values (“android”,“ios”))
countriesstringFilters countries (comma seperated, ISO 3166-1 alpha-2 )
countryInstringDetermines how the values of previous parameter is used, Allowed values (“in”,“notin”), “in” is default
tagsstringFilters tags (comma seperated, can be found on Admost Dashboard -> My Apps)

Request Example

curl --location --request POST 'http://amr-api.admost.com/api/publisher/v1/tags' \
--header 'Content-Type: application/json' \
--data-raw '{
    "apps" : "13236a79-3769-4de0-a8b2-bfedcb2ebc36",
    "apiKey":"hdxpKfQmttuYK557GH2hWf1Lg2ad6c6b",
    "startDate":"2022-06-20",
    "endDate":"2021-06-30",
    "groupBy":"tag,app"    
}'

Response Example

[
    {
        "ecpm": 4.3112116404222012995456,
        "tag": "tag1",
        "sum_revenue": 30772.4198658098140810520543,
        "app_name": "appname1",
        "sum_tag_impression": 7137766.0,
        "application_id": "13236a79-3769-4de0-a8b2-bfedcb2ebc36"
    },
    {
        "ecpm": 6.675818990577592693769709,
        "tag": "tag2",
        "sum_revenue": 24385.878888654199290512475850,
        "app_name": "appname1",
        "sum_tag_impression": 3652867.0,
        "application_id": "13236a79-3769-4de0-a8b2-bfedcb2ebc36"
    },
    {
        "ecpm": 3.83853119177000496403693,
        "tag": "tag3",
        "sum_revenue": 6287.01124453314626044220545,
        "app_name": "appname1",
        "sum_tag_impression": 1637869.0,
        "application_id": "13236a79-3769-4de0-a8b2-bfedcb2ebc36"
    }
]