TwitterAds Campaign Stats


#1

Hello I’m having troubles in retrieving stats information. I ḿ just doing that https://dev.twitter.com/ads/reference/get/stats/accounts/%3Aaccount_id/campaigns/%3Aid says. The endopoint I use is

“stats/accounts/55y5/campaigns/eyt3”

and the only parameters that I use are : granularity:“TOTAL”, start_time with a date , and metrics: “promoted_tweet_search_impressions”.
The I get an error saying that the request has missing parameters. Am I forgeting some parameter ? I understand that params are enough. Thank you.


#2

Hello,

It’s difficult to know what the problem might have been without seeing the exact request and response.

Please reference the guideline at Guidelines for Reporting Issues and if at all possible repro your steps with “twurl” command line utility.

A common scenario that could be the problem is that start_time is not formatted in the right way. Please reference https://dev.twitter.com/ads/analytics “Specifying time ranges” section for more information.

Thanks,

John