Hi,

I am getting the keyword performance report only for keywords which are 
enabled  and I want to get the keywords which are paused also ,I am trying 
but I am not getting these values 

can any one please help me in how to write the predicate for keywords which 
are paused ?

And I am trying these code but I am only getting keywords which are enabled 
only


Code :

$selector = new Selector();
  $selector->fields = 
array('KeywordText','Id','Status','Clicks','AverageCpc','Conversions','Ctr','Impressions','AveragePosition','Cost');

  // Filter out deleted criteria.
  $selector->predicates[] = new Predicate('Status', 'IN', array('ENABLED', 
'PAUSED','REMOVED'));
  $selector->predicates[] = new Predicate('AdGroupId', 'IN', 
array($adGroupId));

  // Create report definition.
  $reportDefinition = new ReportDefinition();
  $reportDefinition->selector = $selector;
  $reportDefinition->reportName = 'Criteria performance report #' . 
uniqid();
  $reportDefinition->dateRangeType = 'LAST_7_DAYS';
  $reportDefinition->reportType = 'KEYWORDS_PERFORMANCE_REPORT';
  $reportDefinition->downloadFormat = 'CSV';





Thank you,


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/da4ee989-5c0f-418a-9f2a-33e63e714723%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to