fbad_list_ad: List all Ads for current account, list of Ad Sets or...

Description Usage Arguments Value Note References

Description

List all Ads for current account, list of Ad Sets or Campaigns

Usage

1
fbad_list_ad(fbacc, id, statuses, fields = "id")

Arguments

fbacc

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

id

will do the look-up for all Ads based on this ID. Defaults to current FB account. Can be a (vector of) Ad Set or Campaign id(s).

statuses

character vector of statuses to use as a filter. Defaults to none. Please refer to the Facebook documentation for a list of possible values.

fields

character vector of fields to get from the API, defaults to id. Please refer to the Facebook documentation for a list of possible values.

Value

data.frame

Note

Will do a batched request to the Facebook API if multiple ids are provided.

References

https://developers.facebook.com/docs/marketing-api/reference/adgroup/v2.5#read-adaccount



Search within the fbRads package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.