example https://vm.tiktok.com/ZMF6e6QYa/ is a Video Ad
It will great if you can handle that properly in the responde
since I see that you have the is_ad in the aweme_detail attributes
my suggestions is to return the same payload as a normal video (empty) with only aweme_detail -> is_ad correctly populated true/false.
that way you prevent exceptions at the level of the client side since the developer can read and handle that scenario properly.
Participez à la discussion - ajoutez un commentaire ci-dessous: