Create Ad Set
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,
...
)
Ad Set id
(optional) FB_Ad_account
object, which defaults to the last returned object of fbad_init
.
name of the Ad Set
optimization goal
the billing event
logical. If TRUE
, autobid is set and you do not need to specify bid_amount
integer
see at https://developers.facebook.com/docs/marketing-api/reference/ad-promoted-object
parent Ad Campaign id
Ad Set status
using account currency
using account currency
UTC UNIX timestamp
UTC UNIX timestamp
list
further arguments passed to the API endpoint
https://developers.facebook.com/docs/marketing-api/reference/ad-campaign#Creating