Facebook Marketing API - Create ad without business page -


is possible create ad via facebook marketing api without having or using facebook business page? hadn't found reference confirms guess. i'll appreciate help, thanks!

yes, can create link ad not connected page using adcreative fields title, body, object_url, , image_file or image_hash. actor_id use fb user id can reading /me endpoint.

more info on adcreatives @ https://developers.facebook.com/docs/marketing-api/adcreative/v2.4

here's curl example page.

-f 'object_url=https://www.link.com' \ -f 'title=my title' \ -f 'body=my ad body' \ -f 'image_hash=<image_hash>' \ -f 'actor_id=<actor_id>' \ -f 'access_token=<access_token>' \ https://graph.facebook.com/<api_version>/act_<ad_account_id>/adcreatives 

Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -