Learn R Programming

lares (version 4.8.4)

fb_accounts: Facebook Ad Accounts

Description

This returns all ad accounts for a FB Business Account FB. For more information on Ad Insights' API, go to the original documentaion

Usage

fb_accounts(
  token,
  business_id = "904189322962915",
  type = c("owned", "client"),
  api_version = "v3.3"
)

Arguments

token

Character. This must be a valid access token with sufficient privileges. Visit the Facebook API Graph Explorer to acquire one

business_id

Character. Business ID

type

Character vector. Values: owned, client

api_version

Character. Facebook API version

See Also

Other API: bring_api(), fb_ads(), fb_creatives(), fb_insights(), fb_posts(), fb_post(), li_auth(), li_profile(), queryGA(), slackSend()

Other Facebook: fb_ads(), fb_creatives(), fb_insights(), fb_posts(), fb_post()