根据这个:https://developers.facebook.com/docs/marketing-api/reference/custom-audience#Reading以下代码应返回与我的广告帐户相关的自定义受众群体 . 它确实返回了一个对象数组,但是在其上填充的唯一字段是ID(其他所有内容,包括其名称,都为null) .
$account = new AdAccount(<ADS_ACCOUNT_NO>);
$audiences = $account->getCustomAudiences();
1 回答
我刚刚找到答案,你需要阅读()每个对象才能获得完整的细节 .
像这样的东西应该工作正常: