BLAM Ads is an online advertising service that can be implemented with to monetize websites using content locking advertising. When BLAM's code is pasted into a website's HTML, visitors will be prompted with a "content locking gateway" which will display several offers that users must interact with to gain access to the rest of the site. This model ensures that any user who makes it to a site using BLAM's content locking is providing advertising revenue to the site owner.
The BLAM ads API provides programmatic access to exactly how the content locking service operates on a site, giving developers control over the types of offers presented to end-users of their sites. Other functionality exposed by this API includes statistics and reporting, account and user management, and integration with virtual currencies - for example interacting with ads in exchange for a certain amount of virtual currency.
This RESTful API can be configured to provide a wide range of response types, including JSON, JSONP, XML, PHP, CSV, and HTML. Access to this API is dependent on an account with service.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.