Hello
I use googleads/googleads-php-lib in Yii2.
I try to generate any report for test account using code examples in library.
For example DownloadCriteriaReport.php
If i use its code i receive an error: Class 'ReportDefinition' not found
$user->LoadService('ReportDefinitionService', '201607');
// Create selector.
$selector = new \Selector();
$selector->fields = array('CampaignId', 'AdGroupId', 'Id', 'Criteria',
'CriteriaType', 'Impressions', 'Clicks', 'Cost');
// Optional: use predicate to filter out paused criteria.
$selector->predicates[] = new \Predicate('Status', 'NOT_IN', array('PAUSED'));
// Create report definition.
$reportDefinition = new \ReportDefinition(); <--- here an error
$reportDefinition->selector = $selector;
what do i do wrong?
If I try any other example (not from Reporting folder) it works well.
Thank you
Yana