We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The method ReachFrequencyPrediction::reserve() throws an exception 'Array to string conversion' on line 116.
ReachFrequencyPrediction::reserve()
$response->getContent() returns an associative array with the ID of the prediction, but it's typecasted to a string.
$response->getContent()
The text was updated successfully, but these errors were encountered:
@monitotxi, can you provide a code to reproduce this?
Sorry, something went wrong.
@pruno For an existing prediction (with an existing API instance):
use FacebookAds\Object\ReachFrequencyPrediction; $prediction_id = 'XXX'; $adaccount_id = 'XXX'; $prediction = new ReachFrequencyPrediction($prediction_id, $adaccount_id); $prediction->reserve(); //throws the exception
c987167
Fix ReachFrequencyPrediction::reserve()
d90bd8e
Summary: fix #92 - fix #92 Test Plan: (new ReachFrequencyPrediction(<PREDICTION_ID>, <ACCOUNT_ID>))->reserve();
No branches or pull requests
The method
ReachFrequencyPrediction::reserve()
throws an exception 'Array to string conversion' on line 116.$response->getContent()
returns an associative array with the ID of the prediction, but it's typecasted to a string.The text was updated successfully, but these errors were encountered: