fbad_create_campaign: Created Ad Campaign

View source: R/fb_campaign.R

fbad_create_campaignR Documentation

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
)

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

Value

Ad Campaign id

References

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


cardcorp/fbRads documentation built on March 27, 2024, 12:43 a.m.