UNAUTHORIZED CLIENT APPLICATION ads API


#1

Hi All,
Given below is the API License i obtain from the twitter team.
This Advertising API License Agreement (“Agreement”) is made between the entity identified in the Ads API Sign Up Form(s) submitted to Twitter by such entity (or its authorized representative) (referred to herein as “Company”) and Twitter, Inc., on behalf of itself and its Affiliates (as defined below) (collectively, “Twitter”), and governs Company’s access to and use of the Licensed Material (as defined below). “Affiliate” means any other entity that directly or indirectly controls, is controlled by, or is under common control with Twitter.
Below code ha make the call to sandbox api,
$url = ‘https://ads-api-sandbox.twitter.com/0/accounts’;
$requestMethod = ‘GET’;
echo $twitter->buildOauth($url, $requestMethod)
->performRequest();
i got ,
{“errors”:[{“code”:“UNAUTHORIZED_CLIENT_APPLICATION”,“message”:“The client application making this request does not have access to this API”}],“request”:{“params”:{}}}
can any explain me how to fix this.
Regards,
Hariharasuthan.M


How to integrate Twitter ads API into my website?