createCampaign: Create a campaign.

Description Usage Arguments Details Author(s) See Also Examples

Description

Create a campaign

Usage

1

Arguments

body

Body of request that includes campaigns settings. See examples and details.

Details

Valid campaign settings (body):

Author(s)

John Coene jcoenep@gmail.com

See Also

orionOAuth, helpers

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
## Not run: 
# authenticate
orionOAuth(client.id = 0000,
           client.secret = "0x00000000x00x0x000xxx0000x0xx0")
           
# set body of request
camp <- list(name = "test",
             budget_type = "daily",
             budget_daily = "1000", 
             pkg_name = "someting.test.com",
             objective = objective("installs"), 
             app_type = "2",
             web_type = "1", 
             landing_page = landingPage("googlePlay"))

# create campaign            
createCampaign(body = camp)

## End(Not run)

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