Problem in Ads api

api

#1

Fatal error: Uncaught exception ‘Hborras\TwitterAdsSDK\TwitterAds\Errors\Forbidden’ with message ‘FORBIDDEN’ in E:\xampp\htdocs\twitter\src\TwitterAds.php:453 Stack trace: #0 E:\xampp\htdocs\twitter\src\TwitterAds.php(431): Hborras\TwitterAdsSDK\TwitterAds->manageErrors(Object(stdClass)) #1 E:\xampp\htdocs\twitter\src\TwitterAds.php(244): Hborras\TwitterAdsSDK\TwitterAds->http(‘GET’, ‘https://ads-api…’, ‘accounts’, Array) #2 E:\xampp\htdocs\twitter\src\TwitterAds\Account.php(58): Hborras\TwitterAdsSDK\TwitterAds->get(‘accounts’, Array) #3 E:\xampp\htdocs\twitter\src\TwitterAds.php(111): Hborras\TwitterAdsSDK\TwitterAds\Account->all() #4 E:\xampp\htdocs\twitter\examples\analytics.php(16): Hborras\TwitterAdsSDK\TwitterAds->getAccounts(’’) #5 {main} thrown in E:\xampp\htdocs\twitter\src\TwitterAds.php on line 453


#2

@trilok_malav: It’s difficult to tell what’s going on here. Could you please clarify so that we may try to help? See our Guidelines for Reporting Issues for more information. We strongly suggest you provide example requests using twurl.