// Create selector.
$selector = new Selector();
$selector->setFields(['CampaignId', 'AdGroupId', 'Id', 'Criteria',
'CriteriaType', 'Impressions', 'Clicks', 'Cost']);
// Use a predicate to filter out paused criteria (this is optional).
$selector->setPredicates([
new Predicate('Status', PredicateOperator::NOT_IN, ['PAUSED'])]);
The PHP code above produces the SQL code below.
SELECT CampaignId, AdGroupId, Id, Criteria, CriteriaType, QualityScore
FROM CRITERIA_PERFORMANCE_REPORT
WHERE Status IN [ENABLED, PAUSED] and HasQualityScore='TRUE'
Here is the real question. What if I change the "
and" to "
or".