Description Usage Arguments Value References
Create Ad Set
| 1 2 3 4 5 6 7 8 9 | fbad_create_adset(fbacc, name, optimization_goal = c("NONE", "APP_INSTALLS",
  "CLICKS", "ENGAGED_USERS", "EXTERNAL", "EVENT_RESPONSES", "IMPRESSIONS",
  "LINK_CLICKS", "OFFER_CLAIMS", "OFFSITE_CONVERSIONS", "PAGE_ENGAGEMENT",
  "PAGE_LIKES", "POST_ENGAGEMENT", "REACH", "SOCIAL_IMPRESSIONS",
  "VIDEO_VIEWS"), billing_event = c("APP_INSTALLS", "CLICKS", "IMPRESSIONS",
  "LINK_CLICKS", "OFFER_CLAIMS", "PAGE_LIKES", "POST_ENGAGEMENT",
  "VIDEO_VIEWS"), is_autobid = FALSE, bid_amount, promoted_object,
  campaign_id, status = c("ACTIVE", "PAUSED", "ARCHIVED", "DELETED"),
  daily_budget, lifetime_budget, end_time, start_time, targeting, ...)
 | 
| fbacc | (optional)  | 
| name | name of the Ad Set | 
| optimization_goal | optimization goal | 
| billing_event | the billing event | 
| is_autobid | logical. If  | 
| bid_amount | integer | 
| promoted_object | see at https://developers.facebook.com/docs/marketing-api/reference/ad-campaign/promoted-object | 
| campaign_id | parent Ad Campaign id | 
| status | Ad Set status | 
| daily_budget | using account currency | 
| lifetime_budget | using account currency | 
| end_time | UTC UNIX timestamp | 
| start_time | UTC UNIX timestamp | 
| targeting | list | 
| ... | further arguments passed to the API endpoint | 
Ad Set id
https://developers.facebook.com/docs/marketing-api/reference/ad-campaign#Creating
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.