updateAdset: Update an adset

Description Usage Arguments Details Author(s) See Also Examples

Description

Update adset settings, see details and example.

Usage

1
updateAdset(adset.id, body)

Arguments

adset.id

id of adset to update

body

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

Details

Valid values for body:

Author(s)

John Coene jcoenep@gmail.com

See Also

orionOAuth, listAdsets, createAdset, helpers, dictCountry, dictLanguage, dictInterest, dictBehaviour, dictDevice, dictOS

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## Not run: 
# authenticate
orionOAuth(client.id = 0000,
           client.secret = "0x00000000x00x0x000xxx0000x0xx0")
           
# list adsets
adsets <- listAdsets()

# update adset name
update <- updateCampaign(adset.id = adsets$id[1], body = list(
               switch = switchIt("on"), 
               name = "New adset Name - Running"))
               
# show updated campaign
showAdset(adset.id = adsets$id[1])

## End(Not run)

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