1.0.0 • Published 4 years ago

ads91 v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Ads91

A Mall91 product for Vuejs projects, to show users interactive ads.

It Provides three types of Ads.

Banner

i want to put exapmle images here

Video

i want to put exapmle images here

Productcard

i want to put exapmle images here

Installation

npm install ads91 //abhi k liye folder copy krk rkhlo home directory mein

How to use ?

Import this to get ads component in your .vue file under script tag

import Ads91 from "../ads91/index";// @ads91 in future

Mention the ad in components property in your .vue file

 components: {
    Ads91,
  },

Use this in template to render ads

  <ads-91 :unitIdentifier="myIdentifier" adType="VideoAds"/>

You have to pass your correct unitIdentifier as prop to get ads.

 data() {
    return {
      myIdentifier: 'e6d1258f-9ce5-4ac5-b153-86b16376affe,
    };
  },

Secondly, You can pass 'adType' prop to specify type of ads you want to show. 'adType' is a ENUM that can hold one of these values- 'VideoAds','BannerAds','ProductCardAds'.

IMPORTANT- 'adType' IS AN OPTIONAL OPTIONAL PROP, WITHOUT IT ANY RANDOM ADS WILL BE PRODUCED.
1.0.0

4 years ago