1.0.0 • Published 1 year ago

@adhese/sdk-vast-url v1.0.0

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

@adhese/sdk-vast-urls @adhese/sdk-vast-url version

To generate VAST URLs, you need to install the @adhese/sdk-vast-url package.

Installation

npm install @adhese/sdk-vast-url

Usage

To generate VAST URLs, you need to include the @adhese/sdk-vast-url package in your Adhese instance.

import {createAdhese} from '@adhese/sdk';

const adhese = createAdhese({
  account: 'demo',
  plugins: [vastUrlPlugin],
  location: 'location',
})

Generate a VAST URL

const url = adhese.plugins.vastUrl.createUrl({
  format: 'vast',
  parameters: {
    aa: 'value'
  },
}) // output: https://ads-demo.adhese.com/ad/sllocation-vast/aavalue
1.0.0

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago