Zone JSON Fields
Property | Description | Type | Optional on Creation? |
---|---|---|---|
site-id | The id of the site to which the zone belongs. This can be set only when a site is created. | Integer | No |
name | The zone name | String (245 max) | No |
device | The zone device type:
Possible values for site: For site-type defined as mobile-in-app: mobile-in-app | String | No |
positioning | The zone positioning type. Possible values are:
| Integer | No |
vast-redirect | Indicates if the zone supports redirect or not | Boolean | Yes Default is true. |
vpaid | Indicates if the zone supports VPAID. VPAID Flash & VPAID JavaScript support are set automatically based on device and integration type chosen. If integration type chosen is set to "vast" and VPAID support is enabled, then Flash and JS VPAID support are enabled. If set to true, all formats are activated on the zone (Youtube, Overlay, Rich formats) | Boolean | Yes Default is true. |
capping | An object describing the capping applied for this zone. Capping.view is the maximum number of impressions for a viewer and capping.duration is the duration in seconds for which this limitation applies | Object | Yes Default is null: no capping is applied to ads. |
max-ad-duration | The maximum duration in seconds that the zone allows for an ad. Zero value indicates that no limitation is applied | Integer | Yes Default is null: no limitation is applied on ad durations. |
floor-price | The minimum CPM (in the private exchange currency) that the zone allows for a campaign | String with decimal point separator to avoid conversion issues | Yes Default is null: no limitation is applied on bid prices. |
floor-price-buy-side | The minimum buy-side CPM (in the private exchange currency) that the zone allows for a campaign. This field is not allowed if the AdNetwork module is disabled. | String with decimal point separator to avoid conversion issues | Yes Default is null: no limitation is applied on bid prices. |
seb-policy | Possible values are "", "" and "". Possible values are:
Works for EPB policy (Exclusive Programmatic Buyers | String | Yes |
play-type | Possible values are "auto", "click" and "scroll". Possible values are:
| String | Yes Default is click. |
player-height | Height of the player | Integer Minimum value is 10. | Yes |
player-width | Width of the player | Integer Minimum value is 10. | Yes |
skippable-ad | Allow or disallow to skip the ad | Boolean | Yes Default is false. |
sound | Auto-play sound on/off | Boolean | Yes Default is true. |
integration-type | Allowed values are : Permitted values are:
| String | Yes Default is "vast": equivalent to External in UI. |
tag-ids | An array with tag IDs | Array of integers | Yes Default is null: zone is not tagged. |
skip-ad-button | An object defining the behavior of the skip ad button. Skip-ad-button.type is the duration type where the button appears and skip-ad-button.value is the duration in milliseconds/percent of the video from where the button appears. | Object | Yes Default is null: no skip ad button is added. To delete set it to null. |
ssl-only | True if zone accepts only ads that can be delivered in a SSL context, false if not. | Boolean | Yes Default is false. |
externalref | String(50) | Yes Default is null. | |
ad-type | Defines the ad type for this site:
Audio support module is required when creating audio inventory. | Int | Yes (Default is 0, video) |
Capping
Property | Description | Type | Optional on Creation? |
---|---|---|---|
view | The maximum number of impressions for a viewer for the current zone | Integer | No, if the capping object is present, the field is mandatory. |
duration | The duration in seconds for which this capping limitation applies | Integer | No, if the capping object is present, the field is mandatory. |
Skip Ad Button
Property | Description | Type | Optional on Creation? |
---|---|---|---|
type | The duration of the video at which the button appears | Enum ('ms', 'percent') | No, if the skip-ad-button object is present, the field is mandatory. |
value | The duration in milliseconds/percent of the video at which the button appears | Int | No, if the skip-ad-button object is present, the field is mandatory. |