yadirGetSiteLinks: Get Fast Links

View source: R/yadirGetSiteLinks.R

yadirGetSiteLinksR Documentation

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())

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

Value

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

Author(s)

Alexey Seleznev

Examples

## Not run: 
#  Recomendation, please choose another TokenPath to save the Login permanently.
sl <- yadirGetSiteLinks(Login         = "your.yandex.login",
						Ids           = c(5276537, 
						                  8927897239, 
						         	      252627, 
								          33123),
                        TokenPath     = tempdir())
 
## End(Not run)

ryandexdirect documentation built on March 31, 2023, 5:35 p.m.