yadirSetKeyWordsBids: Set KeyWords Bids

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/yadirSetKeyWordsBids.R

Description

Assigns fixed bids and priorities for keyword phrases and auto-targeting.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
yadirSetKeyWordsBids(
    KeywordIds       = NULL,
    AdGroupIds       = NULL,
    CampaignIds      = NULL,
    StrategyPriority = c(NA,
                        "LOW",
                        "NORMAL",
                        "HIGH"),
    SearchBid        = NULL,
    NetworkBid       = NULL,
    Login            = getOption("ryandexdirect.user"),
    Token            = NULL,
    AgencyAccount    = getOption("ryandexdirect.agency_account"),
    TokenPath        = yadirTokenPath())

Arguments

KeywordIds

Phrase ID. Specified if you want to update the bid for an individual phrase.

AdGroupIds

Ad Group ID. Specified if you need to update bids for all group phrases.

CampaignIds

Campaign ID. Specified if you need to update bids for all campaign phrases.

StrategyPriority

The priority of the phrase: LOW, NORMAL or HIGH. Only for automatic strategy.

SearchBid

Bid on search.

NetworkBid

Bid on network.

Login

Your Yandex Login.

AgencyAccount

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

Token

Your Yandex API Token.

TokenPath

Path to directory where you save credential data.

Details

You can set a bet or priority:

You can set a bid or priority depending on which display strategy is selected in the campaign:

If the element of the input array contains parameters that do not correspond to the strategy, the values of these parameters will not be changed:

Value

List with result data, object ids, warnings and errors.

Author(s)

Alexey Seleznev

References

See Also

See for get and autoset keyword bids yadirGetKeyWordsBids() and yadirSetAutoKeyWordsBids()

Examples

1
2
3
4
5
6
7
8
## Not run: 
# loading keywords list
kw <- yadirGetKeyWords()
# set bid on search
setbid <- yadirSetKeyWordsBids(KeywordIds = kw$Id,
                               SearchBid  = 9)

## End(Not run)

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