Learn R Programming

fbRads (version 17.0.0)

fbad_create_ad: Create ad

Description

Create ad

Usage

fbad_create_ad(
  fbacc,
  name,
  adset_id,
  creative_id,
  status = c("ACTIVE", "PAUSED"),
  ...
)

Value

ad id

Arguments

fbacc

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

name

Ad group name

adset_id

Ad Set id

creative_id

creative ID

status

initial status of the Ad group

...

further parameters passed to the Facebook API

References

https://developers.facebook.com/docs/marketing-api/reference/adgroup#Creating