listLabels: List labels

Description Usage Arguments Author(s) See Also Examples

View source: R/listLabels.R

Description

Retrieves ad labels under given account.

Usage

1
listLabels(account.id, token)

Arguments

account.id

ID of the account to retrieve labels from.

token

A valid token as returned by fbAuthenticate or a short-term token from facebook Graph API Explorer.

Author(s)

John Coene jcoenep@gmail.com

See Also

getLabCampaigns

Examples

1
2
3
4
5
6
7
8
## Not run: 
# get all accounts
accounts <- listAccounts("me", token = "XXXXXXXXXXX")

# get labels of random account
labs <- listLabels(account.id = sample(accounts$id, 1), token = "XXXXXXXXXXX")

## End(Not run)

JohnCoene/fbadsinsightsr documentation built on May 28, 2019, 12:55 p.m.