fb_creatives {lares} | R Documentation |
Facebook Creatives API
Description
For more information: Marketing API
Usage
fb_creatives(token, which, api_version = NULL, process = TRUE, ...)
Arguments
token |
Character. Valid access token with sufficient privileges. Visit the Facebook API Graph Explorer to acquire one. |
which |
Character vector. This is the accounts, campaigns, adsets,
or ads IDs to be queried. Remember: if |
api_version |
Character. Facebook API version. |
process |
Boolean. Process GET results to a more friendly format? |
... |
Additional parameters. |
Value
data.frame with un-nested processed results if process=TRUE
or
raw API results as list when process=FALSE
.
See Also
Other API:
bring_api()
,
fb_accounts()
,
fb_ads()
,
fb_insights()
,
fb_process()
,
fb_report_check()
,
fb_rf()
,
fb_token()
,
gemini_ask()
,
gpt_ask()
,
li_auth()
,
li_profile()
,
queryGA()
,
slackSend()
Other Meta:
fb_accounts()
,
fb_ads()
,
fb_insights()
,
fb_process()
,
fb_report_check()
,
fb_rf()
,
fb_token()
Examples
## Not run:
token <- YOURTOKEN
account <- act_ADACCOUNT
# Query all creatives for "which" (account in this case)
creatives <- fb_creatives(token, account)
## End(Not run)