Description Usage Arguments Details Author(s) See Also Examples
Create a campaign
1 |
body |
Body of request that includes campaigns settings. See examples and details. |
Valid campaign settings (body):
name Campaign name should be unique under the same user account.
budget_type can take either daily or lifetime,
see budgetType.
budget_daily Required when budget_type equals to daily
budget_lifetime Required when budget_type equals to lifetime
pkg_name App package name or website domain
objective Use objective to generate, otherwise,
1: Drive App Installs, 2: Drive Mobile Site Traffic,
3: Build Brand Awareness, 4: Get App Re-engagement, 5: Get Video Views
app_type Use appType to generate, otherwise,
1: Game, 2: App
web_type Use webType to generate, otherwise,
if objective == 2. 0: None, 1: Ordinary Website,
2: E-commerce Website, 3: Game Website
landing_page Use landingPage to generate, otherwise,
if objective == 3. 1: Redirect to Google Play,
2: Website
John Coene jcoenep@gmail.com
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.