fbRads:创建无出价上限的AdSet

时间:2018-12-06 17:11:26

标签: r facebook

我必须设置出价上限才能创建广告系列或广告集。为了取消出价上限,我不得不手动取消广告管理器中的设置。

是否可以直接通过API创建广告集而无需设置出价上限?

我的代码

fbad_create_adset(fbacc = fb_acc_init,
                           name = fb_adset_i_name,
                           optimization_goal= "REACH",
                           campaign_id = post_campaign_id,
                           bid_strategy = "LOWEST_COST_WITHOUT_CAP",
                           lifetime_budget = lifetime_budget_input,
                           billing_event = "IMPRESSIONS",
                           start_time = as.POSIXct(Sys.time(), tz = "Europe/Prague"),
                           end_time = fb_adset_end_time,
                           targeting = list(
                             geo_locations = list(countries = list("SK")),
                             publisher_platforms = list("facebook"),
                             age_min = 18
                           ))

产生错误

Error in fbad_create_adset(fbacc = fb_acc_init, name = fb_adset_i_name,  : 
  argument "bid_amount" is missing, with no default

当我添加出价金额(此后必须在admanager中将其删除)时,创建了adset。

谢谢

0 个答案:

没有答案