Description Usage Arguments Details Author(s) See Also Examples
List any objects from the API, see details for valid values.
1 | listObjects(object, n = 50)
|
object |
Nodes to target. See details |
n |
Number of objects to retrieve, defaults to |
Valid values for objects
:
image
, see listImages
for details.
audience
, see listAudiences
for details.
campaign
, see listCampaigns
for details.
adset
, see listAdsets
for details.
ad
, see listAds
for details.
listObject
can essentially replace any other list
family functions. See examples.
John Coene jcoenep@gmail.com
orionOAuth
, listImages
,
listAudiences
, listCampaigns
,
listAdsets
and listAds
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
# authenticate
orionOAuth(client.id = 0000,
client.secret = "0x00000000x00x0x000xxx0000x0xx0")
# list campaigns with listCampaigns
camps <- listCampaigns()
# list campaigns with listObjects
obj <- listObjects(object = "campaign")
# identical results
identical(camps, obj)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.