GET https://api.adsalesgenius.com/adRates/
Request Parameters
Paramater Description Required Default Data Type
product_id Reference to the product object Yes true Integer
active No Bool
Response Parameters
Parameter Description Data Type
ad_size_id String
date_created Date
date_deleted Date
id Integer
location_id Integer
name String
publication_id Integer
rate Double
units
Example Response
{
  "ad_rates":[
    {
      "id":"1",
      "ad_size_id":"1",
      "publication_id":"1",
      "name":"Unspecified",
      "rate":"500",
      "units":null,
      "location_id":null,
      "date_created":"2017-04-15 13:27:30",
      "date_deleted":"2017-04-17 12:00:00"
    },
    {
      "id":"2",
      "ad_size_id":"2",
      "publication_id":"1",
      "name":"Unspecified",
      "rate":"3000",
      "units":null,
      "location_id":null,
      "date_created":"2017-04-15 13:27:30",
      "date_deleted":"2017-04-17 12:00:00"
    },
    {
      "id":"3",
      "ad_size_id":"3",
      "publication_id":"1",
      "name":"Unspecified",
      "rate":"5000",
      "units":null,
      "location_id":null,
      "date_created":"2017-04-15 13:27:30",
      "date_deleted":"2017-04-17 12:00:00"
    },
    {
      "id":"4",
      "ad_size_id":"4",
      "publication_id":"1",
      "name":"Unspecified",
      "rate":"3000",
      "units":null,
      "location_id":null,
      "date_created":"2017-04-15 13:27:30",
      "date_deleted":"2017-04-17 12:00:00"
    },
    {
      "id":"5",
      "ad_size_id":"1",
      "publication_id":"1",
      "name":"Unspecified",
      "rate":"1000",
      "units":null,
      "location_id":null,
      "date_created":"2017-04-15 13:27:30",
      "date_deleted":"2017-04-17 12:00:00"
    }
  ]
}