Search in sources :

Example 1 with ShoppingProductChannel

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

the class ProductDimensions method createChannel.

/**
 * Creates a new ProductChannel.
 *
 * @param channel may be null if creating an "other" dimension
 */
public static ProductChannel createChannel(@Nullable ShoppingProductChannel channel) {
    ProductChannel productChannel = new ProductChannel();
    productChannel.setChannel(channel);
    return productChannel;
}
Also used : ShoppingProductChannel(com.google.api.ads.adwords.axis.v201809.cm.ShoppingProductChannel) ProductChannel(com.google.api.ads.adwords.axis.v201809.cm.ProductChannel)

Aggregations

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