我无法使用 Facebook API 在我的 Facebook 页面上发布广告。我正在使用java技术来做到这一点。我指的是:https ://developers.facebook.com/docs/marketing-apis/get-started/
当我的 Facebook 应用程序处于开发模式时,我可以创建广告系列和广告集,但在创建广告创意时给我这个错误:com.facebook.ads.sdk.APIException$FailedRequestException: {"error":{"message":"Invalid parameter","type":"OAuthException","code":100,"error_subcode":1885183,"is_transient":false,"error_user_title":"Ads creative post was created by an app that is in development mode","error_user_msg":"Ads creative post was created by an app that is in development mode. It must be in public to create this ad.","fbtrace_id":"ArxDl-Vv6ehl1Dbj_hF6uc_"}}
因此,我将我的 Facebook 应用程序设置为实时模式,但现在我无法创建任何内容并出现此错误:
com.facebook.ads.sdk.APIException$FailedRequestException: {"error":{"message":"Unsupported post request. Object with ID 'act_442958229128370' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https:\/\/developers.facebook.com\/docs\/graph-api","type":"GraphMethodException","code":100,"error_subcode":33,"fbtrace_id":"AHQGlrnyRlJnX7aTaPlyrwr"}}
要发布广告,我们需要ads_management权限,要获得此权限,我们需要进行 App Review。因此,我尝试进行 App Review,但我陷入了“提供验证详细信息”,因为我没有任何可以共享其登录凭据的外部应用程序,我只有一个站点,从中传递了创建 Campaign 所需的所有参数、广告集和广告。然后我在 java 代码中捕获这个参数并通过我的 Facebook 页面发布广告。那我该怎么办??