Learn R Programming

ryandexdirect (version 3.6.2)

yadirGetSiteLinks: Get Fast Links

Description

Returns sets of quick links that meet the specified criteria.

Usage

yadirGetSiteLinks(
     Login = getOption("ryandexdirect.user"),
     Token = NULL,
     Ids   = NULL,
     AgencyAccount = getOption("ryandexdirect.agency_account"),
     TokenPath     = yadirTokenPath())

Value

data frame with SiteLinks parameters, id, title, href and description

Arguments

Login

character, your logins at Yandex Direct, require

Token

character, your Yandex Direct API Token, require

Ids

integer vector, ids of sitelinks sets

AgencyAccount

Your agency account login, if you get statistic from client account

TokenPath

Path to directory where you save credential data

Author

Alexey Seleznev

Examples

Run this code
if (FALSE) {
#  Recomendation, please choose another TokenPath to save the Login permanently.
sl <- yadirGetSiteLinks(Login         = "your.yandex.login",
						Ids           = c(5276537, 
						                  8927897239, 
						         	      252627, 
								          33123),
                        TokenPath     = tempdir())
 }

Run the code above in your browser using DataLab