I am getting a protected object returned from the API call to Facebook Ads.
I am making a call with
$campaigns = $account->getAdCampaigns($fields, $params);
and the account class doesn't have any method for reading the protected data.
FacebookAdsCursor Object ( [response:protected] => FacebookAdsHttpResponse Object ( [content:protected] => Array ( [data] => Array (  => Array ( [name] => <campaign_name> [objective] => WEBSITE_CLICKS [id] => <campaign_id> ) ) )
Do I need to create this function. Seems strange the SDK wouldn't have this functionality already.</div