How do I add custom macros?

Have more questions? Submit a request

Cedato Players support twenty custom macros. 

Each macro is mapped from the player to the Demand item. 

 

On vast url add the following: [CUSTOM1] ... [CUSTOM20]

 

On player call add the param &c1={{VALUE1}} ... &c20={{VALUE20}}

[CUSTOM1] will be replaced with {{VALUE1}} 

*Value must be URL encoded

**Note that we don't validate or store the macros being passed from a player to the demand partners



Let's assume your player Id: 123456 so the tag will look like this:

 

<div id="video123456[CB]" style="width: 640px; height: 360px;">

  <script src="https://p.cedatoplayer.com/player/player.js?p=123456&cb=[CB]&w=640&h=360&d=[APP_BUNDLE]&sid=[APP_BUNDLE]&appb=[APP_BUNDLE]&appc=[APP_CATEGORY]&appn=[APP_NAME]&appsi=[APP_STORE_ID]&appsu=[APP_STORE_URL]&appv=[APP_VER]&country=[COUNTRY_ID]&deviceid=[DEVICEID]&ifa=[IFA]&loc=[LOCATION]&loclat=[LOCATION_LAT]&loclong=[LOCATION_LONG]&gdpr=[GDPR]&gdpr_consent=[GDPR_CONSENT]&us_privacy=[US_PRIVACY]&schain=[SCHAIN]&c1=&c1=[add macro from media source]" type="text/javascript"></script>

</div>

 

Related articles

Was this article helpful?
0 out of 0 found this helpful