yadirGetKeyWords: Get Keywords

Description Usage Arguments Value Author(s) Examples

View source: R/yadirGetKeyWords.R

Description

Returns the parameters of key phrases or autotargets that match the specified criteria: the values of the placeholder variables, status and status, statistics of impressions and clicks, rates and priorities.

Usage

1
2
3
4
5
yadirGetKeyWords(CampaignIds = NULL, AdGroupIds = NA, Ids = NA, States
                 = c("OFF", "ON", "SUSPENDED"), WithStats = TRUE, 
                 Login = getOption("ryandexdirect.user"), Token = NULL, 
                 AgencyAccount = getOption("ryandexdirect.agency_account"), 
                 TokenPath = yadirTokenPath())

Arguments

CampaignIds

character vector with yandex direct campaign ID, require

AdGroupIds

character vector with yandex direct adgroup ID

Ids

character vector with yandex direct ad ID

States

character vector with ad states

WithStats

logical, if TRUE then load stat by impressions and click but load process will be long durations

Login

character, your login at Yandex, require

Token

character, your Yandex Direct API Token, require

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 campaings names and parameters

Author(s)

Alexey Seleznev

Examples

1
2
3
4
5
6
7
8
9
## Not run: 

# get data from agency account
### Please choose another TokenPath to save the Login permanently.
my_keywords <- yadirGetKeyWords(Login = "client_login",
                                AgencyAccount = "agency_login",
                                TokenPath     = tempdir())

## End(Not run)

ryandexdirect documentation built on July 1, 2020, 10:39 p.m.