Getting Pageview Segment Data

Hello,

I have created a new plug in and all my data seems to be working fine. I can change the segment views and my data will update correctly. Yet the Pageview information comes over as 0. what would cause that to happen?
This is my code to get the archive data:
$getData = array(‘myMetrics1’, myMetrics2’, ‘Actions_nb_pageviews’);
$dataTable = $archive->getDataTableFromNumeric($getData);

Thank you for your time,

Louis

To get the pageview, please the API


Actions.get

rather than direct access to the value. It should work when using direct API calls

Thank you very much.