Learn R Programming

fbRads (version 17.0.0)

fbad_create_campaign: Created Ad Campaign

Description

Created Ad Campaign

Usage

fbad_create_campaign(
  fbacc,
  buying_type = c("AUCTION", "FIXED_CPM", "RESERVED"),
  campaign_status = c("ACTIVE", "PAUSED"),
  execution_options = NULL,
  name,
  objective = c("BRAND_AWARENESS", "CANVAS_APP_ENGAGEMENT", "CANVAS_APP_INSTALLS",
    "CONVERSIONS", "EVENT_RESPONSES", "EXTERNAL", "LEAD_GENERATION", "LINK_CLICKS",
    "LOCAL_AWARENESS", "MOBILE_APP_ENGAGEMENT", "MOBILE_APP_INSTALLS", "OFFER_CLAIMS",
    "PAGE_LIKES", "POST_ENGAGEMENT", "PRODUCT_CATALOG_SALES", "VIDEO_VIEWS"),
  spend_cap = NULL
)

Value

Ad Campaign id

Arguments

fbacc

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

buying_type

Facebook optimization algorithm to delivery, pricing, and limits

campaign_status

initial status of the Ad Campaign

execution_options

special execution settings passed to the API

name

Ad Campaign name

objective

the campaign's objective

spend_cap

spend cap of the campaign

References

https://developers.facebook.com/docs/marketing-api/reference/ad-campaign-group#Creating