vkGetAdCategories: List of Possible Subjects of Advertisements

Description Usage Arguments Value Author(s) References 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
2
3
4
5
6
7
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.

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

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

References

Documentation for API method ads.getCategories: https://vk.com/dev/ads.getCategories

Examples

1
2
3
4
5
## Not run: 
# list of subjects
vk_ad_categories <- vkGetAdCategories()

## End(Not run)

rvkstat documentation built on Oct. 18, 2021, 5:07 p.m.