yadirGetKeyWords {ryandexdirect}R Documentation

Get Keywords

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

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

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

[Package ryandexdirect version 3.6.2 Index]