Record an ad event
Records a metered ad event (impression or click) against the campaign wallet. Duplicate serve tokens are silently accepted (idempotent).
POST
/v1/marketplace/ad_eventsRequest Body
application/json
serve_token*string
ad_id*string
type*string
Value in
"impression" | "click"location?
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.noona.is/v1/marketplace/ad_events" \ -H "Content-Type: application/json" \ -d '{ "serve_token": "string", "ad_id": "string", "type": "impression" }'Empty
{
"type": "generic_error",
"message": "Time slot is not available."
}{
"type": "generic_error",
"message": "Time slot is not available."
}{
"type": "generic_error",
"message": "Time slot is not available."
}{
"type": "generic_error",
"message": "Time slot is not available."
}{
"type": "generic_error",
"message": "Time slot is not available."
}{
"type": "generic_error",
"message": "Time slot is not available."
}