You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did you try with curl API call? If the curl API call have same result, it means this is a API bug, please report the issue on Devsite Bug Report channel: https://developers.facebook.com/support/bugs/ Thanks!
Did you try with curl API call? If the curl API call have same result, it means this is a API bug, please report the issue on Devsite Bug Report channel: https://developers.facebook.com/support/bugs/ Thanks!
Hi, i'm trying return SPEND_CAP value for my campaigns, but all of then are returning null. Take a look on the following code:
`$fields = array(
CampaignFields::NAME,
CampaignFields::OBJECTIVE,
CampaignFields::SPEND_CAP,
);
$AdAccount = new AdAccount(<ACT_ID>);
$cursor = $AdAccount->getCampaigns($fields);
foreach ($cursor as $campaigns) {
dump($campaigns->{CampaignFields::NAME}.PHP_EOL);
dump($campaigns->{CampaignFields::OBJECTIVE}.PHP_EOL);
dump($campaigns->{CampaignFields::SPEND_CAP}.PHP_EOL);
}
$cursor->fetchAfter();`
What is the possible solution for this problem?
The text was updated successfully, but these errors were encountered: