为了通过API使用帖子参与广告制作广告故事专辑帖子,我们制作了一个专辑(https://developers.facebook.com/docs/graph-api/reference/v2.3/album),将照片添加到该专辑(https://developers.facebook.com/docs/graph-api/reference/v2.3/album/photos),然后使用page_story_id上传广告照片。
但是,我们没有看到包含许多照片的故事,例如“为相册添加了3张新照片:album_name。”相反,我们只能上传显示一张照片的广告,例如"在相册中添加了一张新照片:album_name "
有没有办法让故事画册通过API显示多张图片?
提前谢谢。
-
// create album
https://graph.facebook.com/v2.3/{page_id}/albums
{
"name":"album_name"
}
// add photos in album
https://graph.facebook.com/v2.3/{album_id}
{
"message":"album_name"
,"place" : page_id
,"no_story" : "false"
,"url" : "some img url"
} // 3 times (get object_story_id)
// create campaign_group
https://graph.facebook.com/v2.3/{act_adaccountid}/adcampaign_groups
{
"name":"POST_ENGAGEMENT"
,"campaign_group_status" : "ACTIVE"
,"objective" : "POST_ENGAGEMENT"
}
// create adcampaign
https://graph.facebook.com/v2.3/{act_adaccountid}/adcampaigns
{
"start_time":"POST_ENGAGEMENT"
,"campaign_status" : "ACTIVE"
,"name" : "POST_ENGAGEMENT"
,"end_time" : "1430485200"
,"lifetime_budget" : 35000
,"targeting" : "{"age_max":30,"age_min":20,"geo_locations":{"countries":["KR"]},"page_types":["feed"]}"
,"bid_type" : "CPC"
,"bid_info" : "{CLICKS: 10}"
,"campaign_group_id" : campaign_group_id
}
// create adgroup
https://graph.facebook.com/v2.3/{act_adaccountid}/adgroups
{
"name":"POST_ENGAGEMENT"
,"campaign_id" : campaign_id
,"creative" : {"object_story_id":object_story_id}
,"conversion_specs":{"action.type":["DEFAULTS"]}
}