Description Usage Arguments Details Author(s) See Also Examples
View source: R/checkTargetTree.R
Retrieves the targeting description of a specific object.
1 2 | checkTargetTree(id, token, limit.type = NULL, limit = 100, n = 100,
verbose = FALSE)
|
id |
ID of object to retrieve. |
token |
A valid token as returned by |
limit.type |
Limit the type of audience to retrieve, defaults to |
limit |
Number of results requested at each API call, defaults to 100.
Sometimes useful to bring it down if many results ( |
n |
Number of results to retrieve, defaults to |
verbose |
Defaults to |
Corresponds to this API call; https://developers.facebook.com/docs/marketing-api/targeting-description/v2.7
John Coene jcoenep@gmail.com
1 2 3 4 5 6 7 8 | ## Not run:
# get information on account
ads <- grabAds(account.id = "act_123456789012345", token = "XXXXXXXXXXX")
# fetch targeting description of random ad
checkTargetTree(id = sample(ads$id, 1), token = "XXXXXXXXXXX")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.