I'm trying to list all of my draft campaigns using the Facebook marketing API. By default, it seems, only non-draft (published?) campaigns are listed when calling
curl -i -X GET \
"https://graph.facebook.com/v12.0/act_12345/campaigns?fields=id,name&access_token=<mytoken>"
When looking at the code of the facebook-python-business-sdk, there are multiple references to unpublished content type, which makes me think that there should be a way to list all unpublished campaigns. So my question is how can I list all campaigns, published and unpublished?
I know this question is a duplicate (see here, here, and here) but I'm asking it again since it has not been answered and I'd like to put out a bounty for a helpful response.
"message": "(#100) Tried accessing nonexisting field (addrafts) on node type (AdAccount)",
– Interpreter