GET https://api.mediaos.com/adSizes/product/{product_id}
Request Parameters
Paramater Description Required Default Data Type
product_id Reference to product object Yes Integer
active No true Bool
Response Parameters
Paramater Description Data Type
date_created Date
date_deleted Date
description String
height Height of the ad Float
id Integer
key_date Date from which all time is calculated from Date
location_id Reference to location object Integer
name String
product_id Reference to product object Integer
schedule_concurrent_limit Maximum number of ads running concurrently Integer
scheduling_units ('Years','Months','Weeks','Days') Enum
width Width of the ad Float
Example Response
{
  "ad_sizes":[
    {
      "id":"1346",
      "product_id":"2",
      "key_date":null,
      "scheduling_units":"",
      "schedule_concurrent_limit":null,
      "width":"15",
      "height":"20",
      "description":"",
      "name":"Double Truck",
      "location_id":null,
      "date_created":null,
      "date_deleted":null
    },
    {
      "id":"1352",
      "product_id":"2",
      "key_date":null,
      "scheduling_units":"",
      "schedule_concurrent_limit":null,
      "width":"7.5",
      "height":"10",
      "description":"",
      "name":"IFC",
      "location_id":null,
      "date_created":null,
      "date_deleted":null
    },
    {
      "id":"1353",
      "product_id":"2",
      "key_date":null,
      "scheduling_units":"",
      "schedule_concurrent_limit":null,
      "width":"7.5",
      "height":"10",
      "description":"",
      "name":"IBC",
      "location_id":null,
      "date_created":null,
      "date_deleted":null
    },
    {
      "id":"1354",
      "product_id":"2",
      "key_date":null,
      "scheduling_units":"",
      "schedule_concurrent_limit":null,
      "width":"7.5",
      "height":"10",
      "description":"",
      "name":"BC",
      "location_id":null,
      "date_created":null,
      "date_deleted":null
    },
    {
      "id":"1355",
      "product_id":"2",
      "key_date":null,
      "scheduling_units":"",
      "schedule_concurrent_limit":null,
      "width":"7.5",
      "height":"10",
      "description":"",
      "name":"PAGE 1 & ADJ.",
      "location_id":null,
      "date_created":null,
      "date_deleted":null
    },
    {
      "id":"1221",
      "product_id":"2",
      "key_date":null,
      "scheduling_units":"",
      "schedule_concurrent_limit":null,
      "width":"7.5",
      "height":"10",
      "description":"",
      "name":"Full",
      "location_id":null,
      "date_created":null,
      "date_deleted":null
    },
    {
      "id":"1347",
      "product_id":"2",
      "key_date":null,
      "scheduling_units":"",
      "schedule_concurrent_limit":null,
      "width":"4.875",
      "height":"10",
      "description":"",
      "name":"2\/3 V",
      "location_id":null,
      "date_created":null,
      "date_deleted":null
    },
    {
      "id":"1348",
      "product_id":"2",
      "key_date":null,
      "scheduling_units":"",
      "schedule_concurrent_limit":null,
      "width":"7.5",
      "height":"4.875",
      "description":"",
      "name":"1\/2 H",
      "location_id":null,
      "date_created":null,
      "date_deleted":null
    },
    {
      "id":"1349",
      "product_id":"2",
      "key_date":null,
      "scheduling_units":"",
      "schedule_concurrent_limit":null,
      "width":"4.875",
      "height":"4.875",
      "description":"",
      "name":"1\/3 H",
      "location_id":null,
      "date_created":null,
      "date_deleted":null
    },
    {
      "id":"1350",
      "product_id":"2",
      "key_date":null,
      "scheduling_units":"",
      "schedule_concurrent_limit":null,
      "width":"2.375",
      "height":"10",
      "description":"",
      "name":"1\/3 V",
      "location_id":null,
      "date_created":null,
      "date_deleted":null
    },
    {
      "id":"1274",
      "product_id":"2",
      "key_date":null,
      "scheduling_units":"",
      "schedule_concurrent_limit":null,
      "width":"3.625",
      "height":"4.875",
      "description":"",
      "name":"1\/4",
      "location_id":null,
      "date_created":null,
      "date_deleted":null
    },
    {
      "id":"1351",
      "product_id":"2",
      "key_date":null,
      "scheduling_units":"",
      "schedule_concurrent_limit":null,
      "width":"2.375",
      "height":"4.875",
      "description":"",
      "name":"1\/6 V",
      "location_id":null,
      "date_created":null,
      "date_deleted":null
    },
    {
      "id":"1275",
      "product_id":"2",
      "key_date":null,
      "scheduling_units":"",
      "schedule_concurrent_limit":null,
      "width":"2.377",
      "height":"3.45",
      "description":"",
      "name":"1\/9",
      "location_id":null,
      "date_created":null,
      "date_deleted":null
    },
    {
      "id":"1413",
      "product_id":"2",
      "key_date":null,
      "scheduling_units":"",
      "schedule_concurrent_limit":null,
      "width":"1",
      "height":"1",
      "description":"",
      "name":"Full Page Advo",
      "location_id":null,
      "date_created":null,
      "date_deleted":null
    },
    {
      "id":"1414",
      "product_id":"2",
      "key_date":null,
      "scheduling_units":"",
      "schedule_concurrent_limit":null,
      "width":"1",
      "height":"1",
      "description":"",
      "name":"1\/2 Page Advo",
      "location_id":null,
      "date_created":null,
      "date_deleted":null
    },
    {
      "id":"1415",
      "product_id":"2",
      "key_date":null,
      "scheduling_units":"",
      "schedule_concurrent_limit":null,
      "width":"1",
      "height":"1",
      "description":"",
      "name":"1\/4 Page Advo",
      "location_id":null,
      "date_created":null,
      "date_deleted":null
    },
    {
      "id":"1416",
      "product_id":"2",
      "key_date":null,
      "scheduling_units":"",
      "schedule_concurrent_limit":null,
      "width":"1",
      "height":"1",
      "description":"",
      "name":"1\/8 Page Advo",
      "location_id":null,
      "date_created":null,
      "date_deleted":null
    }
  ]
}