vkGetAdBudget: Budget of Advertising Cabinet 'Vkontakte'.

Description Usage Arguments Author(s) Examples

View source: R/vkGetAdBudget.R

Description

Returns the current balance of the advertising account Vkontakte.

Usage

1
2
vkGetAdBudget(account_id = NULL, access_token = NULL, 
              api_version = NULL)

Arguments

account_id

Advertising account ID, a list of all available advertising accounts can be obtained using the function vkGetAdAccounts.

access_token

API access token, obtained using the functions vkAuth or vkGetToken

api_version

Vkontakte API version.

Author(s)

Alexey Seleznev

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
## auth
my_tok <- vkAuth(app_id = 1, 
                 app_secret = "H2Pk8htyFD8024mZaPHm")

# Receive the rest of means from an advertising office
vk_budget <- vkGetAdBudget(account_id = 1, 
                           access_token = my_tok$access_token)

## End(Not run)

rvkstat documentation built on July 28, 2019, 5:03 p.m.