Hi,

I am using the Adwords API and using the report 
type=ADGROUP_PERFORMANCE_REPORT

But the api does not return disabled ads.

    $dateRange = new DateRange();
    $dateRange->min = date('Ymd', $datefrom);
    $dateRange->max = date('Ymd', $dateto);
$selector->predicates[] = new Predicate('Status', 'IN', 
array('ENABLED','PAUSED','DELETED'));
  // Exclude criteria that haven't recieved any impressions over the date 
range.
  $reportDefinition->includeZeroImpressions = FALSE;

  // Set additional options.
  $options = array('version' => ADWORDS_VERSION, 'returnMoneyInMicros' => 
FALSE);
  // Download report.
  ReportUtils::DownloadReport($reportDefinition, $filePath, $user, 
$options);

This only returns active ads and doe not return disabled ads. 

Can someone please help? 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to