fbad_list_campaign {fbRads}R Documentation

List all Ad Campaigns for current account

Description

List all Ad Campaigns for current account

Usage

fbad_list_campaign(fbacc, id, statuses, fields = "id", simplify = TRUE)

Arguments

fbacc

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

id

not supported argument

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.

simplify

boolean whether response is simplified to data.frame or else returned as raw list

References

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


[Package fbRads version 17.0.0 Index]