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