
Returns a table with all possible topics and their subsections of the topics of advertisements from 'Vkontakte'
vkGetAdCategories(
version = c("v1", "v2"),
username = getOption("rvkstat.username"),
api_version = getOption("rvkstat.api_version"),
token_path = vkTokenPath(),
access_token = getOption("rvkstat.access_token")
)
Dictionary version, v1 include deprecated themes, v2 exclude deprecated themes.
Your vkontakte login.
Vkontakte API version.
Path to dir with credentials
API access tokens obtained using vkAuth or vkGetToken functions
Date frame with the following values:
subject identifier.
subject name.
identifier of the subsection.
subsection name.
Documentation for API method ads.getCategories: https://vk.com/dev/ads.getCategories
# NOT RUN {
# list of subjects
vk_ad_categories <- vkGetAdCategories()
# }
Run the code above in your browser using DataLab