v1

latestSwagger 2.02026-07-1422117.6 KB
sponsorship

Record tracking data for VAST sponsorship units

Not for use by NPR One clients (for whom sponsorship is already integrated into the Listening Service), this endpoint is designed to be used by our other client applications to submit tracking information for sponsorship units obtained from the GET /sponsorship/v2/ads endpoint.

The tracking information should be submitted in the body of the request in the form of a JSON object following the Collection.Doc+JSON specification.

post/v2/ads

Headers

Authorizationstring required

Your access token from the Authorization Service. Should start with Bearer, followed by a space, followed by the token.

X-Advertising-IDstring

A device-specific advertising identifier, if possible. Apple's IDFA is an example.

Request body

errorsobject[] required

A list of encountered errors, ignored on POST, PUT

hrefstring required

A URL representation of the resource; should generally be ignored by clients unless noted otherwise

linksobject required
versionstring required

The version of the Collection.Doc+JSON spec being used

Response

Request completed successfully, but there is nothing that we need to return to the caller.