private static function createAdGroupCriterionOperation(
        AdGroupCriterion $criterion,
        $operator
    ) {
        $operation = new AdGroupCriterionOperation();
        $operation->setOperand($criterion);
        $operation->setOperator($operator);

        return $operation;
    }