预测目标不一致:预测目标应与运动目标匹配

时间:2018-10-15 10:36:02

标签: facebook-javascript-sdk facebook-marketing-api

通过FB javascript SDK在具有“覆盖面和频次”设置的广告系列中创建新的FB adset时,我偶然发现了一个问题,该问题阻止了AdSet的创建。覆盖率和频率预测和AdSet都包含相同的Facebook页面ID,但是api会以某种方式引发Inconsistent prediction objective: prediction objective should match campaign objective错误,这没有任何意义。希望社区会注意到这种“不一致”。

广告系列有效载荷:

{ 
   name: 'xxxxxx',
   objective: 'LINK_CLICKS',
   buying_type: 'RESERVED',
   start_time: 1542700800,
   stop_time: 1544371200
 }

R&F预测有效载荷

{
  campaign_id: '238429946090*****', //id returned by previous call
  target_spec: { 
     age_min: 15,
     age_max: 50,
     geo_locations: { countries: [ 'NL' ] },
     genders: [ 2 ],
     publisher_platforms: [ 'facebook' ]
  },
  destination_id: 1234567890,
  interval_frequency_cap: 6,
  frequency_cap: 2,
  prediction_mode: 1,
  start_time: 1542700800,
  end_time: 1544371200,
  budget: 500000
}

激活受众

{
    rf_prediction_id: 123456789017, //id returned by previous call
    action:'reserve'
}    

AdSet有效负载

{
  name: 'xxxxxx',
  campaign_id: '238429946090*****', //id previous returned id
  billing_event: 'IMPRESSIONS',
  frequency_control_specs: [ 
    { 
        event: 'IMPRESSIONS', 
        interval_days: 6, 
        max_frequency: 2 
    }
   ],
  rf_prediction_id: '2384299460******', // id returned by the the call to the reservation api
  promoted_object: { 
        page_id: 1234567890
  } 
}

该错误表明广告系列的目标和预测不匹配,但是您可以看到它是相同的。

由于这似乎是与营销API一起执行的非常简单的操作,所以我无法想象这是一个错误。

0 个答案:

没有答案