fbRads (version 0.2)

fbad_create_creative: Create an ad creative

Description

Create an ad creative

Usage

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"))

Value

creative id

Arguments

fbacc

(optional) FB_Ad_account object, which defaults to the last returned object of fbad_init.

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 fbad_create_image.

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

References

https://developers.facebook.com/docs/marketing-api/adcreative/v2.4#create