First experience with Ads Api. How can I send and fetch data?




I’m trying to use Twitter Ads Api to get statistical data from our customers’ Ads accounts.
I created a simple app from and downloaded a client library. But it didn’t work.

I’m reading ads api documentation and seeing some REST urls there. When I try to reach any of them gives me INVALID_RESPONSE error in chrome. Those urls look like “not working”

So, what’s the first step should I take to be able to use Ads Api? Should I apply for something?



You should start here

And after that, reading the whole documentation in order to understand how twitter ads api is organized.



Thank you for your reply.

I was able to send request and fetch data successfully using twurl.
It seems “” is what I need for testing purposes instead of “

But… can you or any others who read this message, please tell me why these urls are inaccessible via browser??

When I try
twurl -H /0/accounts/

Gives an error even I make authorization successfully with my twitter account:
{“errors”:[{“code”:“UNAUTHORIZED_CLIENT_APPLICATION”,“message”:“The client application making this request does not have access to this API”}],“request”:{“params”:{}}}

Must I have an ads account in order to test api? I’m asking this because I’m using



The UNAUTHORIZED_CLIENT_APPLICATION message means that your application used (App ID) has not been approved to use Advertiser API. Please confirm that you have applied for access and been approved via the process at If your access has been approved then your credentials may not be set up correctly within .twurlrc file.