Search in sources :

Example 1 with ShoppingProductChannelExclusivity

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

the class ProductDimensions method createChannelExclusivity.

/**
 * Creates a new ProductChannelExclusivity.
 *
 * @param channelExclusivity may be null if creating an "other" dimension
 */
public static ProductChannelExclusivity createChannelExclusivity(@Nullable ShoppingProductChannelExclusivity channelExclusivity) {
    ProductChannelExclusivity productChannelExclusivity = new ProductChannelExclusivity();
    productChannelExclusivity.setChannelExclusivity(channelExclusivity);
    return productChannelExclusivity;
}
Also used : ShoppingProductChannelExclusivity(com.google.api.ads.adwords.axis.v201809.cm.ShoppingProductChannelExclusivity) ProductChannelExclusivity(com.google.api.ads.adwords.axis.v201809.cm.ProductChannelExclusivity)

Aggregations

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