0

我正在通过 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 创建与完全相同规范的相似对象时,它们已成功创建。

以下是我发送的有效载荷示例:

//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"] },
    },
  },
};


4

1 回答 1

1

您的 api 请求的问题是您在 api requests 中指定了类型和比率。因此,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"] },
  },
},
}
于 2020-10-02T15:12:39.417 回答