node.js - adCreative创建错误: 'Invalid parameter' code: 1487390

标签 node.js facebook-graph-api

无法创建广告素材。得到一个错误:

Adcreative Create Failed: The Adcreative Create Failed for the following reason: Oops, something went wrong. Please try again later

并且在同一个错误堆栈中:

message: 'Invalid parameter' code: 1487390

我的代码:

exports.create = (data, campaign) => {
  return new adsSdk.AdCreative({
      body: data.appearance.vacancyDescription,
      image_url: data.appearance.backgroundImage,
      name: `Creative for campaign ${campaign.id}`,
      link_url: data.appearance.link,
      title: data.appearance.linkDescription,
      object_story_spec: {
          instagram_actor_id: 'xxxxxx',
          page_id: 'xxxxx',
          link_data: {
              link: data.appearance.link
      }
    }
  }, `act_xxxxx`)
    .create()

我正在使用 facebook-js-ads-sdk。

最佳答案

问题是因为 page_id 错误

关于node.js - adCreative创建错误: 'Invalid parameter' code: 1487390,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45923144/

相关文章:

node.js - Facebook "active access token must be used"

javascript - 在照片上传 Facebook api 中标记 friend

node.js - ArangoDB FOXX Node 扩展

node.js - 让 Cordova/Phonegap 在 Genymotion 虚拟设备上进行仿真

node.js - 在 Node 中发送 FCM 推送

php - 从群组检索帖子时 Facebook api 返回可捕获的 fatal error

php - 如何从数组 XML 中获取值

facebook - Facebook webhook 页面订阅中的回调 URL 是什么?

javascript - 嘿,当使用node.js从html表单将数据插入MySql时,我不知道从哪里开始

javascript - 使用 javaScript 按单词中元音的数量对句子进行排序并从左侧对其进行索引