Search in sources :

Example 1 with ProductCanonicalConditionCondition

use of com.google.api.ads.adwords.axis.v201809.cm.ProductCanonicalConditionCondition in project googleads-java-lib by googleads.

the class ProductDimensions method createCanonicalCondition.

/**
 * Creates a new ProductCanonicalCondition.
 *
 * @param condition may be null if creating an "other" dimension
 */
public static ProductCanonicalCondition createCanonicalCondition(@Nullable ProductCanonicalConditionCondition condition) {
    ProductCanonicalCondition productCanonicalCondition = new ProductCanonicalCondition();
    productCanonicalCondition.setCondition(condition);
    return productCanonicalCondition;
}
Also used : ProductCanonicalCondition(com.google.api.ads.adwords.axis.v201809.cm.ProductCanonicalCondition)

Aggregations

ProductCanonicalCondition (com.google.api.ads.adwords.axis.v201809.cm.ProductCanonicalCondition)1