Create a Campaign Matrix Buy with the API

This example illustrates how to create a Matrix Buy campaign by using the Guaranteed Campaigns REST API. It shows the complete set of operations required to create a line item, validate the booking requests, check the availability, and update Matrix Buy line items. This example also shows how to identify Matrix Buy line items in the Guaranteed Campaigns user interface.

The Guaranteed Campaigns REST API endpoints and parameters are described in the REST Method Reference.

Note: The ID#s we use in these samples are for illustration purposes. They are invalid. Be sure to use your own ID#s for your integrations.

Note: All request body examples in this document are raw JSONs.