Pontiac API Overview
Our API (Application Programming Interface) enables users to interact with Pontiac programmatically, allowing them to integrate Pontiac’s ad buying capability with external applications. This allows campaign setup, reporting, and optimizations to be automated or controlled without user interaction with the Pontiac interface.
API integration is for programmers (or teams with programmers) who wish to include ad buying or reporting into their apps.
For example:
- If you are a publisher with clients that advertise on your properties and you want to help them to advertise across the open web you can integrate Pontiac into your own interface.
- If you are an agency that has a proprietary platform for reporting or submitting insertion orders, you can easily automate campaign setups.
- If you are a trading desk with your own traders and optimization strategies, you can automate those optimizations.
If you would like to use our API for your campaigns, email your Account Manager. Access is approved on a case by case basis. If your account is granted API access you will receive a username and temporary password to login to the Pontiac sandbox environment.
You can use the sandbox just like the regular production environment without the risk of spending any money. You can also login to the sandbox as if it were our normal ui to make sure that your calls are going through correctly.
General documentation for end points and object structure is available here:
https://api.pontiac.media/docs/
The front end for the sandbox can be found here:
https://sandbox.pontiac.media
Sandbox endpoints: https://sandbox.pontiac.media:1070/docs/
All examples are given using curl. Curl or cURL stands for client URL and is a simple tool built into unix systems that allows users to make network requests from their command line. If you are running windows you have to install a tool like Cygwin or enable unix commands in your command line. There is also an online tool that can be found in the link below that will allow you to make curl commands from the internet. Although the last option is the most convenient it is the least secure.
Cygwin
https://www.cygwin.com/
Tutorial for setting up unix commands for windows
https://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/
Online curl tool
https://reqbin.com/curl
Example Code
The full implementation of the steps to set up a campaign, written in Python can be found here: pythonPontiacTutorial.
Make sure that you set your credentials and start and end date in the file pontiacTutorial.py before running it.
pontiacTutorial.py will be the entry point.
To install the latest version of python and for more help on getting started with Python: https://www.python.org/