@adhese/sdk-vast-url
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

@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

Readme

Keywords

none

Package Sidebar

Install

npm i @adhese/sdk-vast-url

Weekly Downloads

15

Version

1.0.0

License

none

Unpacked Size

45.7 kB

Total Files

13

Last publish

Collaborators

  • adhese-ci
  • mefjush
  • tsturtew