Custom Audience creation and testing


#1

Hi - We had some questions about the Twitter API that we could not find in the docs:

  1. The TwitterAds::TONUpload class expects a file. Due to security concerns, we’d like to instead pass the data directly in. Is there an option to do that?

  2. We’d like to start testing adding and removing emails for custom audiences within the sandbox environment. The TON Upload and tailored audience endpoints both expect some type of file, how might we test our implementation, which removes that requirement?

  3. We created a few accounts in the sandbox environment by posting to this endpoint:
    POST https://ads-api-sandbox.twitter.com/2/accounts but have been unable to find them or reference them again. We’d like to create a few test audience lists attached to the sandbox accounts.


#2

Noting that I helped with this issue directly and to make the wider team aware. Thanks!