Update Creative

This endpoint allows you to update existing creatives in the PulsePoint platform. All fields are required as this is a PUT endpoint. If fields are left out that aren't required they will be assumed as null.

Endpoint

Method: PUT

https://lifeapi.pulsepoint.com/RestApi/v2/lifecreative/{creativeId}

Path Parameter: Theidof the creative you want to update

Field List

HTMLCreativeRequestDTO

NameData TypeRequiredNotes
namestringYescreative name
advertiserNamestringYes
adSizeHeightnumericYes
adSizeWidthnumericYes
domainLandingPagestringYes
adChoicesIconstring, ENUMYesValid Values: TopRight, TopLeft, BottomRight, BottomLeft, None
notesstringNo
placementIdstringNo3rd party adserver ID
campaignRestrictNamestringNoIf you want to ensure that this creative doesn't display alongside another campaign's creative, you will submit the Life campaign name in this field.
categoryNamearray of stringsNoIAB Pharma Categories
dsaAdvertiserstringNo/YesIt is only a required field if set to be required at the account level.
financierstringNo/YesIt is only a required field if dsaAdvertiser is set to be required at the account level.
creativeTypestring, ENUMYesFor this object it should only be "html"
creativeHtmlstringYes

ExpandableHTMLCreativeRequestDTO

NameData TypeRequiredNotes
namestringYescreative name
advertiserNamestringYes
adSizeHeightnumericYes
adSizeWidthnumericYes
domainLandingPagestringYes
adChoicesIconstring, ENUMYesValid Values: TopRight, TopLeft, BottomRight, BottomLeft, None
notesstringNo
placementIdstringNo3rd party adserver ID
campaignRestrictNamestringNoIf you want to ensure that this creative doesn't display alongside another campaign's creative, you will submit the Life campaign name in this field.
categoryNamearray of stringsNoIAB Pharma Categories
dsaAdvertiserstringNo/YesIt is only a required field if set to be required at the account level.
financierstringNo/YesIt is only a required field if dsaAdvertiser is set to be required at the account level.
creativeTypestring, ENUMYesFor this object it should only be "expandable"
creativeHtmlstringYes
expandDirectionstring, ENUMYesValid Values: Up, Down, Left, Right, Up Left, Up Right, Down Left, Down Right

VideoCreativeRequestDTO

NameData TypeRequiredNotes
namestringYescreative name
advertiserNamestringYes
adSizeHeightnumericYes
adSizeWidthnumericYes
domainLandingPagestringYes
adChoicesIconstring, ENUMYesValid Values: TopRight, TopLeft, BottomRight, BottomLeft, None
notesstringNo
placementIdstringNo3rd party adserver ID
campaignRestrictNamestringNoIf you want to ensure that this creative doesn't display alongside another campaign's creative, you will submit the Life campaign name in this field.
categoryNamearray of stringsNoIAB Pharma Categories
dsaAdvertiserstringNo/YesIt is only a required field if set to be required at the account level.
financierstringNo/YesIt is only a required field if dsaAdvertiser is set to be required at the account level.
creativeTypestring, ENUMYesFor this object it should only be "video"
sourcestring, ENUMYesValid Values: VAST_Doc (when type is HTML5_VPAID or MP4_VIDEO), VAST_URL (when type is HTML5_VPAID or MP4_VIDEO), URL (when type is FLV, MP4_VIDEO)
typestring, ENUMYesValid Values: FLV, MP4_VIDEO, HTML5_VPAID
durationnumericYesThe length of the view in seconds
clickThroughURLstringYes
bitRatenumericNo
videoURLstringNo
videoSkippingAfternumericNoSeconds before skip button appears

Example Request

{
  "creativeType": "html",
  "name": "Testing Liams (yet again) HTML5 issues",
  "advertiserName": "TAMTESTING ACCOUNT",
  "adSizeWidth": 728,
  "adSizeHeight": 90,
  "domainLandingPage": "http://cookmedical.com",
  "adChoicesIcon": "TopRight",
  "categoryNames": [],
  "creativeHtml": "<div style=\"width: 728px; height: 90px; position:relative;\"><div style=\"position:absolute;z-index:1;width: 728px; height: 90px; cursor:pointer\" id=\"PPclickTagLayer\"></div><IFRAME style=\"position:absolute; width:728px; height:90px; z-index:-1\" frameborder=0 src=\"https://media-active.contextweb.com/creatives/5132/1749676267164/PI-WF324450-EN-F 2/index.html\"></IFRAME> </div><script type=\"text/javascript\"> var clickTag = \"%%PRECLICKURL%%https%3A%2F%2Fwww.cookmedical.com%2Fproducts%2F3901d990-413b-493d-8445-44a72334cb6d%2F\"; (function() { var layer = document.getElementById(\"PPclickTagLayer\"); if (layer) { var listen = function(obj, e, fn) {if (obj.addEventListener) { obj.addEventListener(e, fn, false); } else { obj.attachEvent(\"on\"+e, fn); }};listen(layer, 'click', function (evt) {evt.stopPropagation(); try { evt.cancelBubble(); } catch (e) { /* ignore */ } window.open(window.clickTag, '_blank'); }); }})();</script>"
}

Example Response

{
   "creativeType":"html",
   "id":897698,
   "name":"Testing Liams (yet again) HTML5 issues",
   "advertiserName":"TAMTESTING ACCOUNT",
   "adSizeWidth":728,
   "adSizeHeight":90,
   "domainLandingPage":"http://cookmedical.com",
   "adChoicesIcon":"TopRight",
   "obaIconOnly":true,
   "accountId":561939,
   "categoryNames":[
      
   ],
   "advertiserId":5132,
   "adFormat":"GenericHtml",
   "creativeHtml":"<div style=\"width: 728px; height: 90px; position:relative;\"><div style=\"position:absolute;z-index:1;width: 728px; height: 90px; cursor:pointer\" id=\"PPclickTagLayer\"></div><IFRAME style=\"position:absolute; width:728px; height:90px; z-index:-1\" frameborder=0 src=\"https://media-active.contextweb.com/creatives/5132/1749676267164/PI-WF324450-EN-F 2/index.html\"></IFRAME> </div><script type=\"text/javascript\"> var clickTag = \"%%PRECLICKURL%%https%3A%2F%2Fwww.cookmedical.com%2Fproducts%2F3901d990-413b-493d-8445-44a72334cb6d%2F\"; (function() { var layer = document.getElementById(\"PPclickTagLayer\"); if (layer) { var listen = function(obj, e, fn) {if (obj.addEventListener) { obj.addEventListener(e, fn, false); } else { obj.attachEvent(\"on\"+e, fn); }};listen(layer, click, function (evt) {evt.stopPropagation(); try { evt.cancelBubble(); } catch (e) { /* ignore */ } window.open(window.clickTag, _blank); }); }})();</script>",
   "html5":false
}

Errors