fbad_get_pixels function

Get tracking pixels of eg an Ad or Business Manager Account

Get tracking pixels of eg an Ad or Business Manager Account

fbad_get_pixels(id, token, version, fields = c("name"), simplify = TRUE)

Arguments

  • id: Facebook Object, eg Ad Account (with act prefix) or a Business Manager Account ID
  • token: FB Ads API token
  • version: Facebook Marketing API version
  • fields: character vector
  • simplify: return data.frame or list

Returns

list(s) containing Ads Pixels

References

https://developers.facebook.com/docs/marketing-api/reference/ads-pixel/#Reading