Create an ad creative
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) FB_Ad_account
object, which defaults to the last returned object of fbad_init
.title
: stringbody
: stringname
: stringactor_id
: Facebook object ID referencefollow_redirect
: booleanimage_file
: local image passed to Facebook. You might first upload the image via fbad_create_image
.image_hash
: stringimage_crops
: listimage_url
: stringlink_url
: stringurl_tags
: listobject_id
: Facebook object ID referenceobject_story_id
: post ID referenceobject_story_spec
: listobject_url
: string listcall_to_action_type
: stringcreative 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