@kiosked/demo-creatives
v1.2.0
Published
Demo creative system.
Downloads
6
Keywords
Readme
Demo creative system
Collection of demo creatives, configurations, and a system to deploy them to S3.
About
This package contains demo creatives for use with demo ad placements in the Kiosked script. Creatives are deployed to S3 and a management script is published on npm (privately).
To deploy, run the np
executable - creatives will be deployed to production.
Usage
To use this package in the client script, you must import @kiosked/demo-creatives
:
const { getManifestURL } = require("@kiosked/demo-creatives");
const manifest = await fetch(getManifestURL("production"));
// manifest =
// {
// "testing-160x600": {
// "link": "http://kiosked.com",
// "creatives": [{
// "url": "https://resources-staging.intags.com/demo/releases/v1.0.0/testing-160x600-1.png",
// "size": "160x600"
// }]
// }
// }