无法创建Facebook AdSet

时间:2015-08-03 09:47:03

标签: c# facebook api

我无法创建新的广告集,我收到了此消息。 (FacebookApiException - #100)参数无效

我的代码:

    dynamic parameters = new ExpandoObject();
    parameters.name = title;
    parameters.billing_event = "IMPRESSIONS";
    parameters.optimization_goal = "POST_ENGAGEMENT";
    parameters.daily_budget = "2000";
    parameters.campaign_group_id = groupis;
    parameters.targeting = (dynamic)(new ExpandoObject());
    parameters.targeting.age_max = 65;
    parameters.targeting.age_min = 25;
    parameters.targeting.geo_locations = (dynamic)(new ExpandoObject());
    parameters.targeting.geo_locations.countries = new List<string>();
    parameters.targeting.geo_locations.countries.Add("US");
    dynamic res = fb.Post("/v2.4/act_" + adsid + "/adcampaigns", parameters);

1 个答案:

答案 0 :(得分:0)

您必须添加body { padding-top: 70px; } ,如下所示:

access_token