vkGetAdAccounts: List of Advertising Account
Description
Returns a list of available advertising spaces.
Usage
vkGetAdAccounts(
username = getOption("rvkstat.username"),
api_version = getOption("rvkstat.api_version"),
token_path = vkTokenPath(),
access_token = getOption("rvkstat.access_token")
)
Arguments
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_idID of the advertising account.
account_typeType of advertising office.
account_statusThe status of the advertising office. (1 - active, 0 - inactive)
access_roleUser privileges in the advertising office.
References
Documentation for API method ads.getAccounts: https://vk.com/dev/ads.getAccounts
Examples
Run this code# NOT RUN {
my_vk_acc <- vkGetAdAccounts()
# }
Run the code above in your browser using DataLab