public static function asNegativeAdGroupCriterion(
        $adGroupId,
        ProductPartition $productPartition
    ) {
        $criterion = new NegativeAdGroupCriterion();
        $criterion->setAdGroupId($adGroupId);
        $criterion->setCriterion($productPartition);

        return $criterion;
    }