Description Usage Arguments Value Author(s) References Examples
View source: R/vkGetAdClients.R
Returns a list of advertising agency clients.
1 2 3 4 5 6 7 | vkGetAdClients(
account_id = getOption("rvkstat.agency_id"),
username = getOption("rvkstat.username"),
api_version = getOption("rvkstat.api_version"),
token_path = vkTokenPath(),
access_token = getOption("rvkstat.access_token")
)
|
account_id |
Advertising account ID, a list of all available advertising accounts can be obtained using the function vkGetAdAccounts. |
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 |
Date frame with community statistics with the following values:
id |
client id. |
name |
customer name. |
day_limit |
client's daily limit in rubles. |
all_limit |
total customer limit in rubles. |
Alexey Seleznev
Documentation for API method ads.getClients: https://vk.com/dev/ads.getClients
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
## auth
my_tok <- vkAuth(app_id = 1,
app_secret = "H2Pk8htyFD8024mZaPHm")
## We get a list of clients from the agent account
vk_clients <- vkGetAdClients(account_id = 1,
access_token = my_tok$access_token)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.