vkGetAdCategories: List of Possible Subjects of Advertisements

Description Usage Arguments Value Author(s) Examples

View source: R/vkGetAdCategories.R

Description

Returns a table with all possible topics and their subsections of the topics of advertisements from 'Vkontakte'

Usage

1
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.

Author(s)

Alexey Seleznev

Examples

1
2
3
4
5
6
7
8
9
## 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)

## End(Not run)

rvkstat documentation built on July 28, 2019, 5:03 p.m.