我想通过使用Facebook发布的页面帖子创建广告。在这个过程中,我能够通过图形API ( Page _id/post)获取一个页面的所有已发布文章。此外,我可以创建广告创意与Post_Id。然而,当我在广告创建过程中使用这个创建的ad_creative id时,它通过这个错误“无效参数:广告创意没有使用有效的链接”。对于医生..。参考:https://developers.facebook.com/docs/marketing-api/reference/ad-creative#obtaining_pp也是用来生成广告的,我使用了这个方法。
ad = ad_account.ads.create({
name: ' Ad\* via Post', adset\_id: under\_adset\_id, creative: { creative\_id: post\_creative\_id, }, status: 'PAUSED', })发布于 2019-11-01 00:00:59
将'link‘字段添加到请求
creative: { creative_id: post_creative_id, link: "https://stackoverflow.com/"},https://stackoverflow.com/questions/58484343
复制相似问题