Skip to contents

https://developers.facebook.com/docs/marketing-api/insights/breakdowns

Usage

cc_get_fb_ad_frequency_distribution(
  ad_id = NULL,
  date_preset = c("maximum", "last_7d", "last_30d", "today", "yesterday", "this_month",
    "last_month", "this_quarter", "maximum", "data_maximum", "last_3d", "last_7d",
    "last_14d", "last_28d", "last_30d", "last_90d", "last_week_mon_sun",
    "last_week_sun_sat", "last_quarter", "last_year", "this_week_mon_today",
    "this_week_sun_today", "this_year"),
  output = c("tibble", "barchart", "list"),
  start_date = NULL,
  end_date = NULL,
  api_version = "v23.0",
  ad_account_id = NULL,
  fb_user_token = NULL
)

Arguments

ad_id

Indentifier of a an ad_id, adset_id, or campaign_id.

Details

Warning: custom time ranges not yet functional