i am new to twitter ads api so any one guide me how to use ads api in initial stage using java and how can i give request to access the data
Hi @manopriyan29! Welcome to the Ads API! 
You can find almost everything on
and the rest of the posts on this forum.
You first need an application which your customer must authorize to make requests in his behalf.
That application will first need to be whitelisted for Ads API access, by a Twitter Representative.
Once you have this, you need to implement the login flow (found in the docs) by which you get access tokens for the user (the customer), and then you can make requests to the Ads API to get whatever data you need.
To make valid requests you need to send the “Authorization” request header - you can do this manually (the steps are documented), or use an SDK that does this for you.
Good luck! 
thank you its really helpfull for me and any sdk is available for analytics???
thank you so much majoritasdev
You’re welcome, @manopriyan29. 
is there any ads api console tool availabe for testing purpose???
I know about twurl: GitHub - twitter/twurl: OAuth-enabled curl for the Twitter API.
Also see Setting up Twurl
From https://dev.twitter.com/ads/campaigns:
Twurl is a command-line tool in the spirit of cURL that gracefully handles Twitter OAuth authentication. twurl is a great tool for quickly testing and debugging Ads API (and REST API) functionality. To see the full headers of the request and response, use -t to trace the call, roughly equivalent to cURL’s -v option.