Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

fbad_add_audience error with schema using multiple columns #130

Open
naokiohno opened this issue Oct 30, 2020 · 0 comments
Open

fbad_add_audience error with schema using multiple columns #130

naokiohno opened this issue Oct 30, 2020 · 0 comments

Comments

@naokiohno
Copy link

I've been trying to upload customers to my newly created custom audience.

fbad_add_audience(audience_id = "621513444XXXX", schema = c("EMAIL", "FN", "LN", "CT", "ZIP"), hashes = c(df$email, df$fname, df$lname, df$city, df$postal_code))

I got the following error:

INFO [2020-10-30 23:38:55] Adding 1291670 EMAIL to 621513444XXXX custom audience ID.
INFO [2020-10-30 23:38:55] Adding 1291670 FN to 621513444XXXX custom audience ID.
INFO [2020-10-30 23:38:55] Adding 1291670 LN to 621513444XXXX custom audience ID.
INFO [2020-10-30 23:38:55] Adding 1291670 CT to 621513444XXXX custom audience ID.
INFO [2020-10-30 23:38:55] Adding 1291670 ZIP to 621513444XXXX custom audience ID.

Error: Tried to unbox a vector of length 5

I saw in the documentation that only email and phone number are mentioned as schema. Are the rest of the schema I used such as name, city, and zip code not supported in the package? Furthermore, is it not possible to match based on multiple columns? This function doesn't seem to support it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant