vkGetAdAccounts: List of Advertising Account

View source: R/vkGetAdAccounts.R

vkGetAdAccountsR Documentation

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

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

## Not run: 
my_vk_acc <- vkGetAdAccounts()

## End(Not run)

selesnow/rvkstat documentation built on Sept. 2, 2022, 12:41 p.m.