API Example Admin Blocklist Creation

From InClickAdServer

Creating a New IP BlockList

This API Service Request will create a new IP Blocklist.

The Code Example

Breaking Down the Code

This require references the local inClick Ad Server deployment configuration files allowing your code to utilize the pre-packaged API Objects as well as the bundled PHPOlait services.


This require contains the API Objects and Classes needed for this API Service Request.


This creates the instance of the classes needed to create the IP Blocklist


This creates the settings for the new IP Blocklist.


This sends the request to the inClick Cloud Server deployment.


This section is provided to give a visual confirmation of what occurred.

Last Updated: 11/15/2016