{
  "opencollection": "1.0.0",
  "info": {
    "name": "Madhive create new line item API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "create new line item",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Creating a line item inclusive of overview and targeting parameters. This includes Line Item Name, Start/End Dates, Product, Impressions/Budget, eCPM (if applicable), Pace per day or lifetime, Publisher Group, Daypart, Frequency Cap, Device Distribution, Audience and Geo. <br /><br />Publisher group and Audience creation are done on their own endpoints and the ID’s are applied here.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api2.madhive.com/api/v1/lineitems",
            "headers": [
              {
                "name": "X-Cloud-Trace-Context",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api2.madhive.com/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Creating a line item inclusive of overview and targeting parameters. This includes Line Item Name, Start/End Dates, Product, Impressions/Budget, eCPM (if applicable), Pace per day or lifetime, Publisher Group, Daypart, Frequency Cap, Device Distribution, Audience and Geo. <br /><br />Publisher group and Audience creation are done on their own endpoints and the ID’s are applied here."
        }
      ]
    }
  ],
  "bundled": true
}