GET api/NetworkMediaType?systemName={systemName}&username={username}&password={password}&networkId={networkId}&offset={offset}&limit={limit}&includeClosed={includeClosed}
Gets all network media types for network
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
systemName | string |
Required |
|
username | string |
Required |
|
password | string |
Required |
|
networkId | integer |
Required |
|
offset | integer |
Default value is 0 |
|
limit | integer |
Default value is 0 |
|
includeClosed | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
Collection of APINetworkMediaTypeName | Description | Type | Additional information |
---|---|---|---|
Id |
Unique identifier |
integer |
None. |
NetworkId |
Unique identifier of network to which this belongs |
integer |
None. |
Description |
Textual description |
string |
None. |
Type |
Type of advert: Banner, Text, Video, Bullet, Vast, Html5 or Flash |
string |
None. |
Width |
Width of advert in pixels |
integer |
None. |
Height |
Height of advert in pixels |
integer |
None. |
OverlayWidth |
Width of overlay advert in pixels |
integer |
None. |
OverlayHeight |
Height of overlay advert in pixels |
integer |
None. |
CompanionWidth |
Width of companion advert in pixels |
integer |
None. |
CompanionHeight |
Height of companion advert in pixels |
integer |
None. |
MaximumSize |
Maximum size of advert in bytes |
integer |
None. |
AllowThirdPartyAdvertTag |
Allow third party tags in place of specific advert: NotAllowed, Optional or Mandatory |
string |
None. |
AllowThirdPartyContent |
Allow third party content within advert: NotAllowed, Optional or Mandatory |
string |
None. |
AllowAssociatedLogo |
Allow logos in textual or banner adverts: NotAllowed, Optional or Mandatory |
string |
None. |
AllowOverlay |
Allow overlay advert in vast advert |
boolean |
None. |
AllowCompanion |
Allow companion advert in vast advert |
boolean |
None. |
MaximumTitleLength |
Number of characters allowed in title of text advert |
integer |
None. |
MaximumSummaryLength |
Number of characters allowed in summary of text advert |
integer |
None. |
MaximumBulletCount |
Number of allowable lines in bullet adverts |
integer |
None. |
MaximumBulletLength |
Number of characters allowed per line in bullet adverts |
integer |
None. |
Response Formats
application/json, text/json
[ { "id": 1, "networkId": 2, "description": "sample string 3", "type": "sample string 4", "width": 1, "height": 1, "overlayWidth": 1, "overlayHeight": 1, "companionWidth": 1, "companionHeight": 1, "maximumSize": 1, "allowThirdPartyAdvertTag": "sample string 5", "allowThirdPartyContent": "sample string 6", "allowAssociatedLogo": "sample string 7", "allowOverlay": true, "allowCompanion": true, "maximumTitleLength": 1, "maximumSummaryLength": 1, "maximumBulletCount": 1, "maximumBulletLength": 1 }, { "id": 1, "networkId": 2, "description": "sample string 3", "type": "sample string 4", "width": 1, "height": 1, "overlayWidth": 1, "overlayHeight": 1, "companionWidth": 1, "companionHeight": 1, "maximumSize": 1, "allowThirdPartyAdvertTag": "sample string 5", "allowThirdPartyContent": "sample string 6", "allowAssociatedLogo": "sample string 7", "allowOverlay": true, "allowCompanion": true, "maximumTitleLength": 1, "maximumSummaryLength": 1, "maximumBulletCount": 1, "maximumBulletLength": 1 } ]
application/xml, text/xml
<ArrayOfAPINetworkMediaType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rochester.Models"> <APINetworkMediaType> <AllowAssociatedLogo>sample string 7</AllowAssociatedLogo> <AllowCompanion>true</AllowCompanion> <AllowOverlay>true</AllowOverlay> <AllowThirdPartyAdvertTag>sample string 5</AllowThirdPartyAdvertTag> <AllowThirdPartyContent>sample string 6</AllowThirdPartyContent> <CompanionHeight>1</CompanionHeight> <CompanionWidth>1</CompanionWidth> <Description>sample string 3</Description> <Height>1</Height> <Id>1</Id> <MaximumBulletCount>1</MaximumBulletCount> <MaximumBulletLength>1</MaximumBulletLength> <MaximumSize>1</MaximumSize> <MaximumSummaryLength>1</MaximumSummaryLength> <MaximumTitleLength>1</MaximumTitleLength> <NetworkId>2</NetworkId> <OverlayHeight>1</OverlayHeight> <OverlayWidth>1</OverlayWidth> <Type>sample string 4</Type> <Width>1</Width> </APINetworkMediaType> <APINetworkMediaType> <AllowAssociatedLogo>sample string 7</AllowAssociatedLogo> <AllowCompanion>true</AllowCompanion> <AllowOverlay>true</AllowOverlay> <AllowThirdPartyAdvertTag>sample string 5</AllowThirdPartyAdvertTag> <AllowThirdPartyContent>sample string 6</AllowThirdPartyContent> <CompanionHeight>1</CompanionHeight> <CompanionWidth>1</CompanionWidth> <Description>sample string 3</Description> <Height>1</Height> <Id>1</Id> <MaximumBulletCount>1</MaximumBulletCount> <MaximumBulletLength>1</MaximumBulletLength> <MaximumSize>1</MaximumSize> <MaximumSummaryLength>1</MaximumSummaryLength> <MaximumTitleLength>1</MaximumTitleLength> <NetworkId>2</NetworkId> <OverlayHeight>1</OverlayHeight> <OverlayWidth>1</OverlayWidth> <Type>sample string 4</Type> <Width>1</Width> </APINetworkMediaType> </ArrayOfAPINetworkMediaType>