showCampaign: Show a campaign settings

Description Usage Arguments Author(s) See Also Examples

Description

Retrieve settings of a specfic campaign.

Usage

1
showCampaign(campaign.id)

Arguments

campaign.id

id of campaign to retrieve

Author(s)

John Coene jcoenep@gmail.com

See Also

orionOAuth, listCampaigns

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
# authenticate
orionOAuth(client.id = 0000,
           client.secret = "0x00000000x00x0x000xxx0000x0xx0")
           
# list campaigns
camps <- listCampaigns(n = 100)

# fetch random campaign settings
(camp <- showCampaign(campaign.id = sample(camps$id, 1)))

## End(Not run)

JohnCoene/oRion documentation built on June 13, 2019, 12:44 p.m.