private static void RowValuesToConditions(RowValues values, BulkAdGroupProductTarget c) { var product = (Product)c.BiddableAdGroupCriterion.Criterion; product.Conditions = new List <ProductCondition>(); ProductConditionHelper.AddConditionsFromRowValues(values, product.Conditions); }
private static void ConditionsToRowValues(BulkAdGroupProductTarget c, RowValues values) { var product = (Product)c.BiddableAdGroupCriterion.Criterion; if (product.Conditions == null) { return; } ProductConditionHelper.AddRowValuesFromConditions(product.Conditions, values); }
private static void RowValuesToConditions(RowValues values, BulkAdGroupProductTarget c) { var product = (Product)c.BiddableAdGroupCriterion.Criterion; product.Conditions = new List<ProductCondition>(); ProductConditionHelper.AddConditionsFromRowValues(values, product.Conditions); }