display ads

display ads

This endpoint allows the client to create a new display ad.

post/api/display_ads

Request body

namestring required

For internal use, helps distinguish ads from one another

body_markdownstring required

The text (in markdown) of the ad (required)

approvedboolean

Ad must be both published and approved to be in rotation

publishedboolean

Ad must be both published and approved to be in rotation

organization_idinteger

Identifies the organization to which the ad belongs

display_to'all' | 'logged_in' | 'logged_out'

Potentially limits visitors to whom the ad is visible

placement_area'sidebar_left' | 'sidebar_left_2' | 'sidebar_right' | 'post_sidebar' | 'post_comments' required

Identifies which area of site layout the ad can appear in

tag_liststring

Tags on which this ad can be displayed (blank is all/any tags)

Response

successful

Changes