我正在尝试从Graph API Explorer获取活动列表。我正在使用在https://developers.facebook.com/docs/marketing-api/reference/ad-account/campaigns/找到的请求。
GET /v2.8/{ad-account-id}/campaigns HTTP/1.1
Host: graph.facebook.com
我是用于广告的页面的业务经理和管理员。我在Graph API Explorer上使用以下请求找到了AD_ACCOUNT_IDs。
GET /v2.8/me/businesses HTTP/1.1
Host:
我正在使用Facebook广告api从其他帐户读取活动。我已经创建了应用程序,得到了app_id和app_secret。在graph explorer中,我使用其他人的访问令牌和帐户id来获取他的活动。但facebook给了我以下错误:
{
"error": {
"message": "(#274) The ad account is not enabled for usage in Ads API. Please add it in developers.facebook.com/apps -> select your app -&g
我在使用Facebook Marketing API时遇到了一些麻烦。我需要阅读当前用户在所有广告帐户中的所有活动活动。因此,第一步是阅读所有的广告帐户。
首先,我尝试了所说的:
// Add to header of your file
use FacebookAds\Object\AdUser;
// Add after Api::init()
$me = new AdUser('me');
$my_adaccount = $me->getAdAccounts()->current();
但是AdUser.php文件在SDK中不存在。
因此,我尝试向端点/me
我有一个facebook的活动,adSet和一个广告,我已经创建了使用Facebook API。然而,当我尝试使用这三个端点(:I think they are called endpoints)创建广告时,它会给出一个错误-- No creative spec found for given adgroup.,这里是我的代码,用来创建前面创建的图像、附件和广告:
FB.api('act_xxxxxxxx/adcreatives', 'POST', {
name: 'My Testworthy Ad Creative',
title: '
我在开发中遇到了一个应用程序的问题。我已经安装了我的Facebook应用程序,我可以通过Firebase auth登录获取用户的access_token,但是当我尝试调用与广告帐户/活动相关的Facebook时,我得到了一个错误:
Unsupported get request. Object with ID '<ad-account-id>' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the
我有一个用户可以使用ads_read权限在我们的应用程序上使用Facebook进行授权,但当我们尝试使用Facebook Graph API上的< user _ID>/adaccounts边缘从该用户的帐户获取广告帐户时,它返回一个错误:
{
error: {
message: "Unsupported get request. Object with ID '<USER_ID>' does not exist, cannot be loaded due to missing permissions, or does not supp
我正在做Facebook Marketing API (v6.0),并试图得到我每个广告集的花费金额,实际上我已经开始使用Graph API explorer,但我发现没有任何名为spend和amount spend的字段,所以过了一段时间后,我得到了这个实际上返回错误数据的技巧,所以等式如下: daily_budget - budget_remaining = amount_spent,所以假设我们有900 - 800 =它在我的应用程序中返回100,而在业务经理中我得到50,这是我的端点应用程序接口 public function facebookData()
{
$fb = n
我正在我的rails应用程序中设置一个API集成,并使用Facebook /Marketing。我试图测试非常基本的选项与我的沙箱广告帐户,似乎无法让他们工作。这是我一直在犯的错误:
FacebookAds::ClientError: Unsupported post request.
Object with ID '119033245616727' does not exist, cannot be loaded due
to missing permissions, or does not support this operation.
Please read the