fbRads (version 0.2)

fbad_add_audience: Add people to a custom FB audience

Description

Add people to a custom FB audience

Usage

fbad_add_audience(fbacc, audience_id, schema = c("EMAIL", "PHONE"), hashes)

Arguments

fbacc

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

audience_id

string

schema

only two schema are supported out of the four: you can add/remove persons to/from a custom audience by e-mail addresses or phone numbers

hashes

character vector of e-mail addresses or phone numbers to be transformed to hashes

References

https://developers.facebook.com/docs/marketing-api/custom-audience-targeting/v2.4#create