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

Process 'command 'F:\android-sdk\build-tools\21.1.2\aapt.exe'' finished with non-zero exit value 1 -

apache - setting document root in antoher partition on ubuntu -

java - Updating to mongo 3.0 -