NPR Request DAAST sponsorship units

NPR - Request DAAST 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 request sponsorship on behalf of a user. Sponsorship units are returned in the form of DAAST XML. It is worth noting that this endpoint attempts to always return XML, even in the case of exceptions. The default behavior of this endpoint is asynchronous; on an initial request, a call to our external sponsorship provider is placed on a queue, which is typically processed within 3 minutes. Once the sponsorship call is received and processed, the returned sponsorship units are placed in a cache on our server for the current user. Subsequent calls to this endpoint will return DAAST sponsorship units from this cache until tracking information is submitted, which removes the ad from the cache and will automatically request additional ads asynchronously if there are fewer than a certain number remaining in the cache. For development purposes, it's worth noting that there is currently no way to clear a user's cache without submitting some form of tracking.

Posted on:

2018-08-28

Savings With Streamdata.io

0%

Processor Savings

0%

Bandwidth Savings

200%

Data Change

API Description

Provider

NPR

decription

NPR delivers breaking national and world news. Also top stories from business, politics, health, science, technology, music, arts and culture. Subscribe to podcasts and RSS feeds.

Curl command through Streamdata.io

curl -v "https://streamdata.motwin.net/http://api.npr.orgsponsorship/v2/ads?X-Sd-Token={streamdata_token}&adCount={field_value}&forceResult={field_value}&No Name={field_value}"

API Specifications

Average Download Size

0 Kb

Average Download Time

0 second(s)

Test Conditions

Date of test

Duration of test

0 days

Polling frequency used for test

60 second(s)



Return to Main Page



Submit Your API

Join the gallery to find out how much you can save with Streamdata.io.