use of com.google.api.ads.admanager.axis.v202105.TextValue in project googleads-java-lib by googleads.
the class PqlTest method testCreateValue_commaTextSet.
@Test
public void testCreateValue_commaTextSet() {
Set<String> textSet = new LinkedHashSet<String>();
textSet.add("value1");
textSet.add("comma \",\" separated");
Value value1 = ((SetValue) Pql.createValue(textSet)).getValues(0);
Value value2 = ((SetValue) Pql.createValue(textSet)).getValues(1);
assertEquals("value1", ((TextValue) value1).getValue());
assertEquals("comma \",\" separated", ((TextValue) value2).getValue());
}
Aggregations