Description Usage Arguments Value Note References
Create an ad creative
1 2 3 4 5 | fbad_create_creative(fbacc, title, body, name, actor_id, follow_redirect,
image_file, image_hash, image_crops, image_url, link_url, url_tags, object_id,
object_story_id, object_story_spec, object_url,
call_to_action_type = c("OPEN_LINK", "BOOK_TRAVEL", "SHOP_NOW", "PLAY_GAME",
"LISTEN_MUSIC", "WATCH_VIDEO", "USE_APP"))
|
fbacc |
(optional) |
title |
string |
body |
string |
name |
string |
actor_id |
Facebook object ID reference |
follow_redirect |
boolean |
image_file |
local image passed to Facebook. You might first upload the image via |
image_hash |
string |
image_crops |
list |
image_url |
string |
link_url |
string |
url_tags |
list |
object_id |
Facebook object ID reference |
object_story_id |
post ID reference |
object_story_spec |
list |
object_url |
string list |
call_to_action_type |
string |
creative id
There are no checks done before passing provided arguments to Facebook. You have to know what you are up to. Read the Facebook docs.
https://developers.facebook.com/docs/marketing-api/reference/ad-creative#Creating
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.