Skip to content

Commit

Permalink
Another small example
Browse files Browse the repository at this point in the history
  • Loading branch information
ericholscher committed Jul 1, 2020
1 parent cb6c2a4 commit 9af3b38
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions adserver/api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,19 @@ class AdDecisionView(GeoIpMixin, APIView):
An example::
# Multiple type options
{
"ad_types": "readthedocs-fixed-footer|readthedocs-sidebar",
"div_ids": "text-div|image-div"
"priorities": "3|5"
}
# Simplest case
{
"ad_types": "readthedocs-sidebar",
"div_ids": "sample-div"
}
* The publisher must be explicitly permitted to allow unauthenticated requests
* Supports an optional parameter ``format=jsonp`` to signify a JSONP request
* Supports an optional parameter ``callback``
Expand Down

0 comments on commit 9af3b38

Please sign in to comment.