Facebook 营销 API - 类似受众创建 - 无法创建重复的类似受众

Facebook Marketing API - lookalike audience creation - Can't create a duplicate lookalike

我正在通过 Facebook 创建相似的自定义受众 API,但是当我尝试从同一种子创建第二个受众时,我不断收到此错误消息:

"(#2654) Can't create a duplicate lookalike: You've already created a Lookalike Audience with the same source, country and size. Please try using a different source or different specifications."

在这种情况下,国家和种子相同,但两个观众的比例不同。当我通过浏览器中的 adsmanager 创建完全相同规格的 lookalikes 时,它们已成功创建。

以下是我发送的负载示例:

//Audience successfully created
{
  name: "LLA0%-FB | Engaged | 30 (2020-09-23) (US)",
  subtype: "LOOKALIKE",
  origin_audience_id: "123456789",
  lookalike_spec: {
    type: "reach",
    ratio: 0.05,
    allow_international_seeds: "on",
    location_spec: {
      geo_locations: { countries: ["US"] },
    },
  },
}
//Error
{
  name: "LLA20%-FB | Engaged | 30 (2020-09-23) (US)",
  subtype: "LOOKALIKE",
  origin_audience_id: "123456789", 
  lookalike_spec: {
    type: "reach",
    ratio: 0.2,
    allow_international_seeds: "on",
    location_spec: {
      geo_locations: { countries: ["US"] },
    },
  },
};


您的 api 请求的问题是您在 api 请求中指定了类型和比率。因此 facebook 请求忽略了比率值。 https://developers.facebook.com/docs/marketing-api/audiences/guides/lookalike-audiences/#lookalike-audiences 请参阅类型使用类型或比率。你应该像这样使用比率

{
 name: "LLA0%-FB | Engaged | 30 (2020-09-23) (US)",
 subtype: "LOOKALIKE",
 origin_audience_id: "123456789",
 lookalike_spec: {
  type: "reach",
  ratio: 0.05,
  allow_international_seeds: "on",
  location_spec: {
  geo_locations: { countries: ["US"] },
  },
},
}