Tiktok Marketing API
I encountered an issue with my code while attempting to use the TikTok API to fetch reports similar to those generated in TikTok Ads Manager. I followed the documentation on campaign_name, ad_name, and various metrics, but I’m getting an error indicating that some metrics fields are invalid. Here’s the relevant part of my code: