fbad_create_audience function

Create a new FB custom audience

Create a new FB custom audience

fbad_create_audience( fbacc, name, description, subtype = c("CUSTOM", "WEBSITE", "APP", "OFFLINE_CONVERSION", "CLAIM", "PARTNER", "MANAGED", "VIDEO", "LOOKALIKE", "ENGAGEMENT", "DATA_SET", "BAG_OF_ACCOUNTS"), ... )

Arguments

  • fbacc: (optional) FB_Ad_account object, which defaults to the last returned object of fbad_init.
  • name: string
  • description: optional string
  • subtype: audience type
  • ...: any further parameters (fields) passed to the API

Returns

custom audience ID

References

https://developers.facebook.com/docs/marketing-api/reference/custom-audience#Creating