vkGetAdAccounts: List of Advertising Account

Description Usage Arguments Value Author(s) Examples

View source: R/vkGetAdAccounts.R

Description

Returns a list of available advertising spaces.

Usage

1
vkGetAdAccounts(access_token = NULL, api_version = NULL)

Arguments

access_token

API access tokens obtained using vkAuth or vkGetToken functions

api_version

Vkontakte API version.

Value

Date frame with a list of advertising offices and their parameters with the following values:

account_id

ID of the advertising account.

account_type

Type of advertising office.

account_status

The status of the advertising office. (1 - active, 0 - inactive)

access_role

User privileges in the advertising office.

Author(s)

Alexey Seleznev

Examples

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

my_vk_acc <- vkGetAdAccounts(my_tok$access_token)

## End(Not run)

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