$query = "SELECT
campaign.id,
campaign.advertising_channel_type,
campaign.start_date,
campaign.end_date,
campaign.serving_status,
campaign.status,
campaign.name,
campaign.experiment_type
FROM campaign
WHERE
campaign.experiment_type = '{$experimentType}'"
campaigns = [];
foreach (
$this->googleAdsServiceClient->searchStream($account, $query)->iterateAllElements() as $googleAdsRow) {
$campaigns[] = $googleAdsRow->getCampaign()
}
}
count($campaigns)
```
I get more campaigns returned than when I fetch with this request:
```
$query = "SELECT
campaign.id,
campaign.advertising_channel_type,
campaign.start_date,
campaign.end_date,
campaign.serving_status,
campaign.status,
campaign.name,
campaign.experiment_type
FROM campaign
WHERE
campaign.experiment_type IN('BASE', 'EXPERIMENT', 'UNKNOWN')
campaigns = [];
foreach (
$this->googleAdsServiceClient->searchStream($account, $query)->iterateAllElements() as $googleAdsRow) {
$campaigns[] = $googleAdsRow->getCampaign()
}
count($campaigns)
```
As far as I can tell the missing campaigns with the second request are mostly of type EXPERIMENT.
Could there be something wrong with the way IN operator is being evaluated on your side? Or am I missing something here?