We are trying to get the bid estimation curve of an Ad Account programmatically using the Facebook Ads Python SDK v2.9.
In v2.8 it used to work, but does not work in v2.9 (see examples below). Any ideas?
Return value v2.9:
"daily_outcomes_curve": [
{
"spend": 0,
"reach": 0,
"impressions": 0,
"actions": 0
}
]
Return value 2.8:
"curve": [{
"bid": 0,
"spend": 0,
"reach": 0,
"impressions": 0,
"actions": 0,
"predicted_errors_conversions": 1,
"predicted_errors_reach": 1,
"reach_lower_bound": 0,
"reach_upper_bound": 0,
"actions_lower_bound": 0,
"actions_upper_bound": 0
},
{
"bid": 1,
"spend": 646,
"reach": 3567.9354838954,
"impressions": 6680.7097528277,
"actions": 130.80274455903,
"predicted_errors_conversions": 2.8245606972256,
"predicted_errors_reach": 2.689207357674,
"reach_lower_bound": 1263.9466935967,
"reach_upper_bound": 9763.8390907652,
"actions_lower_bound": 39.849431346027,
"actions_upper_bound": 387.70589834293
},
2
Answers
Using v2.9, I executed the below request and was able to retrieve results:
Response:
Most probably you received some intermittent failure.
I know this is an old thread, but I found this in the API documentation, it might help someone else who winds up here
Source:
https://developers.facebook.com/docs/marketing-api/reference/ad-campaign-delivery-estimate/