updateAudience: Update an audience targeting template

Description Usage Arguments Details Author(s) See Also Examples

Description

Update audience targeting template settings, see details and example.

Usage

1
updateAudience(audience.id, body)

Arguments

audience.id

id of audience to update

body

Body of request that includes audience template settings. See examples and details.

Details

Valid values for body:

Author(s)

John Coene jcoenep@gmail.com

See Also

orionOAuth, listAudiences, createAudience, helpers

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 audiences
audiences <- listAudiences()

# update audience name
update <- updateAudience(audience.id = audiences$id[1], body = list(
               audience_template_name = "New Audienced Name",
               audience_template_desc = "New Description"))
               
# show updated campaign
showAudience(audience.id = audiences$id[1])

## End(Not run)

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