I’m trying to create, add users, remove users to custom audiences and then share those audiences with other accounts. I have gotten all of these working except for the sharing part.
The api docs seem very vague on how to actually do this. Here is what it says:
Share your custom audience with business objects at
‘/custom-audience/share_with_objects’
Does anyone know how to do this through the API? I imagine you’d need the AD_ACCOUNT_ID and the CUSTOM_AUDIENCE_ID in some capacity.
for reference that quoted line above is from here https://developers.facebook.com/docs/marketing-api/audiences-api
under the header Building a Custom Audience
Thanks for the help.
2
Answers
I am not entirely sure what you want to do but the documentation says how you can Create and Share a custom audience with other advertiser accounts.Reference here. You have to POST on this endpoint
/{custom_audience_id}/adaccounts
and specify theowner ad account
and therecipient ad account
. Please, check the documentation for more information. Hope this helped.As of 2018; Custom Audiences can now be shared only between Businesses (it is mandatory for both parties to have
BusinessManager
)How to Share Custom Audience Lists
Share Custom Audiences between Business Managers
And while
marketing-api
docs have improved a bit, but still completely lack the get-started-in-5-min crispnessand while nowhere they’ve specified what is this
relationship_type
, I peeked into theirjava-business-sdk
and found this