rvkstat (version 2.6.3)

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(access_token = NULL, api_version = NULL)

Arguments

access_token

API access tokens obtained using vkAuth or vkGetToken functions

api_version

Vkontakte API version for send request.

Value

Date frame with the following values:

id

subject identifier.

name

subject name.

subcategories_id

identifier of the subsection.

ubcategories_name

subsection name.

Examples

Run this code
# NOT RUN {
## auth
my_tok <- vkAuth(app_id = 1,
                 client_secret = "H2Pk8htyFD8024mZaPHm")

# list of subjects
vk_ad_categories <- vkGetAdCategories(access_token = my_tok$access_token)
# }

Run the code above in your browser using DataLab