vkGetAdAccounts: List of Advertising Account

Description Usage Arguments Value Author(s) References Examples

View source: R/vkGetAdAccounts.R

Description

Returns a list of available advertising spaces.

Usage

1
2
3
4
5
6
vkGetAdAccounts(
  username     = getOption("rvkstat.username"),
  api_version  = getOption("rvkstat.api_version"),
  token_path   = vkTokenPath(),
  access_token = getOption("rvkstat.access_token")
)

Arguments

username

Your vkontakte login.

api_version

Vkontakte API version.

token_path

Path to dir with credentials

access_token

API access tokens obtained using vkAuth or vkGetToken functions

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

References

Documentation for API method ads.getAccounts: https://vk.com/dev/ads.getAccounts

Examples

1
2
3
4
## Not run: 
my_vk_acc <- vkGetAdAccounts()

## End(Not run)

rvkstat documentation built on Oct. 18, 2021, 5:07 p.m.