Socket
Book a DemoInstallSign in
Socket

vk-ads-bid-manager

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vk-ads-bid-manager

Controls VK ad rates for optimal use within the daily budget

1.0.2
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

VK ads bid-manager (Node.js)

This module controls VK ad rates for optimal use within the daily budget.

Install

npm i vk-ads-bid-manager

Usage

Fast start below, continue reading for advanced usage.

const BidManager = require('vk-ads-bid-manager');

const bidManager = new BidManager({
  token: process.env.TOKEN, // VK user access_token with Ads permission
});

bidManager.start();

Methods

  • constructor(settings)
  • .start()
  • .stop()

constructor(settings)

Default config
new BidManager({
  token: undefined,
  v: 5.92,
  lang: 'ru',
  reqSecLimit: 3,
  accountId: null,
  bidStep: 100,
  dailyBudget: 1000,
  updateInterval: 300000,
});
Properties description
PropertyTypeDefaultDescription
tokenstringundefinedVK User access_token with Ads permission
vnumber5.92VK api version
langstringruVK api data language
reqSecLimitnumber3Requests limiter to VK api
accountIdnumberFirst Ads account_idAds account_id. If not set, takes first account_id with your token
bidStepnumber100 (russian penny)Ad rates will increase/decrease on this value at one time
dailyBudgetnumber1000 (rub)Daily ad budget
updateIntervalnumber300000 (ms)Ad rates check interval

.start()

Starts bid-manager watcher

.stop()

Stops bid-manager watcher

Keywords

vk

FAQs

Package last updated on 14 Mar 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.