Questions about Boosted Facebook Posts -


i trying figure out if following possible through various facebook apis:

  1. create post on page through api (i know that's possible:)
  2. boost post through ad api (i read it's possible can't find api let me that. if know it, please point out! thanks!)
  3. once boosted, there way can pull boosted post information original post? assume once boosted, boosted post different version of original post, right?
  4. i can post stats through insight api , can boosted post stats through various ad stats api. post stats apply post , boosted post stats apply boosted post or 1 set of stats applies both?

thanks in advance!

everything looking available trough both graph api , marketing api.

1) yes possible, pointed out. can read more here

2) suggest read through marketing api doc linked above find out full structure of ad. in short, ad split following 4 objects:

  • ad campaign: grouping of ad sets have similar business purpose defined campaign objective.
  • ad set: ad set group of ads share same daily or lifetime budget, schedule, bid type, bid info, , targeting data.
  • ad group: ad object contains data necessary visually display ad , associate corresponding ad set. each ad associated ad set , ads in set have same daily or lifetime budget, schedule, , targeting. creating multiple ads in each ad set let optimize delivery based on variations in images, links, video, text or placements.
  • ad creative: ad creative object instance of specific creative being used define creative field of 1 or more ad groups.

3) when post has ad created based on there not "duplicate" post created purpose of ad. if want paid/boosted information on post best way using ads insights api.

4) when pull stats insights api see metrics 'paid' appended them, example 'post_impressions_paid'. return number of paid impressions (i.e. ad) not give information on ad caused impressions. ad insights api's return impressions, likes, comments etc caused ads serve post, not return organic actions.

here quick run down of curl commands create campaign boost post, before trying them read marketing api docs understand whats happening.

// first need ad account user curl https://graph.facebook.com/{user_id}/adaccounts&access_token={token}  // can create our ad campaign. response: {"id": "campaign_group_id"} curl \ -f 'name=my campaign group' \ -f 'campaign_group_status=paused' \ -f 'objective=post_engagement' \ -f 'access_token=<access_token>' \ https://graph.facebook.com/<api_version>/act_<ad_account_id>/adcampaign_groups  // using campaign group id can create ad set. response: {"id": "ad_set_id"} curl \ -f "name=my adset" \ -f "bid_type=cpc" \ -f "bid_info={'clicks': 500}" \ -f "campaign_status=active" \ -f "daily_budget=2000" \ -f "campaign_group_id=<ad_campaign_id>" \ -f "targeting={'geo_locations':{'countries':['us','gb']}}" \ -f "access_token=<access_token>" \ "https://graph.facebook.com/<api_version>/act_<ad_account_id>/adcampaigns"   // before create ad group, recommended create ad creative.  // response: {"id": "creative_id"} curl \ -f "name=sample creative" \  -f "object_story_id=<post_id>" \ -f "access_token=<access_token>" \ "https://graph.facebook.com/<api_version>/act_<ad_account_id>/adcreatives"  // have creative id can use create final piece // of puzzle, ad group. response: {"id": "ad_group_id"} curl \ -f "name=my ad" \ -f "campaign_id=<ad_set_id>" \ -f "creative={'creative_id':<ad_creative_id>}" \ -f "adgroup_status=paused" \ -f "access_token=<access_token>" \ "https://graph.facebook.com/<api_version>/act_<ad_account_id>/adgroups" 

Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -