POST
/
metric
/
placements
curl --request POST \
  --url https://your_a2_service/metric/placements \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "from_datetime": "2023-11-07T05:31:56Z",
  "tagid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "to_datetime": "2023-11-07T05:31:56Z"
}'
{
  "active_campaigns": 0,
  "ad_revenue": 123,
  "budget_spent": 0,
  "click": 0,
  "conversion": 0,
  "ecpm": 0,
  "id": 123,
  "impression": 0,
  "reach": 0,
  "tagid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Query model for retrieving placement metrics.

Response

200
application/json

Successful Response

Schema for placement metric entity.