无法在java-ads-sdk中创建Facebook广告帐户

时间:2017-02-23 07:05:19

标签: java facebook ads

我无法使用业务经理的java-ads-sdk创建广告帐户。以下是我的代码

Business business = new Business(707942606053966L, context);
        AdAccount adAccount = business.createAdAccount().setName("AD_ACCOUNT_1").setCurrency("INR").setTimezoneId(1L)
                .setEndAdvertiser("NONE").setInvoice(true).setIo(false).setPoNumber("1").execute();

我收到以下异常

{"error":{"message":"(#270) Development access is not allowed to access business API post:Business\/adaccount.","type":"OAuthException","code":270,"fbtrace_id":"BYeRqnSnzQ7"}}
你能帮忙吗?感谢。

0 个答案:

没有答案