When I call this endpoint without params, then I get empty data array.
And I catch error, when I pass concrete date (like in my example below).
Both behaviours I consider as wrong. This ad took part in split test, which finished on 1 September 2018.
Here is the error: PHP Fatal error: Uncaught FacebookAds\Http\Exception\AuthorizationException: An access token is required to request this resource.
I try to get data from keywordstats endpoint.
When I call this endpoint without params, then I get empty data array. And I catch error, when I pass concrete date (like in my example below). Both behaviours I consider as wrong. This ad took part in split test, which finished on 1 September 2018.
Here is the error:
PHP Fatal error: Uncaught FacebookAds\Http\Exception\AuthorizationException: An access token is required to request this resource.
Here is full example (without secrets):
And this is output of this script (w/o secrets):
You'll get empty data if you would run curl example. But we get AuthorizationException while using SDK. (And empty data itself is wrong response.)