I’m trying to use the Facebook Custom Audiences de...
# support
b
I’m trying to use the Facebook Custom Audiences destination with events I’m sending via the Python SDK. I was able to push a couple of events in through the python sdk, and they are showing as “ingested events” -- but it doesn’t look like Rudderstack is pushing them up to FB. The destination is showing 0 events delivered. I’m likely doing something wrong. Here is the event I’m sending:
Copy code
hashed_email = '0004a24e0703258e73cc36a44284bc509de973ed1802882379f0cf00e4c83d56'
rudder_analytics.track(hashed_email, 'opt-in', {
     'email': hashed_email,
})
The destination is “enabled” and it isn’t showing any errors. Any ideas on what I might be missing?
l
Hi Erik, I see that you are making a track call. As per the docs, The Facebook Custom Audience destination supports only `audiencelist` calls.
b
@limited-morning-82054 Yeah, I don’t see way to make an
audiencelist
call from the python SDK. What am I missing?
g
@broad-island-80682 You can use a user transformation to convert event name from track to audiencelist and that should suffice. Please keep in mind to follow the structure as mentioned in the doc above