I was just approved for the Real Time Audience API in the last 24 hours. I am trying to test the API call to add members to an audience. I read in the documentation that any audience names that aren’t already created will be created.
I am using this endpoint: https://ads-api.twitter.com/2/tailored_audience_memberships
First, I tried with only one member in the API call to make sure I was submitting the call correctly. I got this response back:
{"data_type":"tailored_audience_membership",
"data":[{"success_count":1}],
"request":[{"total_count":1}]
}
When I checked the UI my audience wasn’t created even as an empty audience. I waited overnight to see if there was just a lag and it still wasn’t there when I checked this morning.
I thought there might not have been enough data to show up in the UI so I tried submitting 2000 records in 100 record batches. Each batch returned this response:
{"data_type":"tailored_audience_membership",
"data":[{"success_count":100}],
"request":[{"total_count":100}]
}
There still is nothing in the UI. This is the payload I submitted for each record:
{'operation_type': 'Update',
'params': {'advertiser_account_id': account_id,
'audience_names': 'Steph Test',
'user_identifier': email_sha256_key,
'user_identifier_type': 'EMAIL'}
}
account_id is my base 36 encoded account ID
email_sha256_key is the SHA256 value for each email address
Is there something I am missing? My app ID is 14281172
Thanks
################################
Update 10/2:
It has now been 3 days and my audience still isn’t showing up in the UI. I was able to use a get call at this endpoint to check if my audience was created: https://ads-api.twitter.com/2/accounts/:account_id/tailored_audiences
My audience came back with a size of 33830. Is there a reason my audience wouldn’t show up in the UI? I double checked and I am using the same account with the API that I am logging into in the UI.
################################
Update 10/9:
It has now been 10 days and none of my audiences are showing up in the UI. I used the same get call and have audiences that range in size from null to 33,830. There is a total of 8 audiences and 5 of them have more than 500 members. It doesn’t seem to be a lack of data that is causing them not to show up, is there anything else going on?