src/Google/AdsApi/AdWords/Shopping/v201809/ProductPartitions.php
private static function createAdGroupCriterionOperation(
        AdGroupCriterion $criterion,
        $operator
    ) {
        $operation = new AdGroupCriterionOperation();
        $operation->setOperand($criterion);
        $operation->setOperator($operator);

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

        return $operation;
    }
private static function createAdGroupCriterionOperation ( AdGroupCriterion $ criterion , $ operator ) { $ operation = new AdGroupCriterionOperation ( ) ; $ operation -> setOperand ( $ criterion ) ; $ operation -> setOperator ( $ operator ) ; return $ operation ; }
Creates an ad group criterion operation for the given ad group criterion.

@param AdGroupCriterion $criterion the ad group criterion
@param string $operator the operator for the operation
@return AdGroupCriterionOperation the ad group criterion operation
Creates an ad group criterion operation for the given ad group criterion .