AdsApp.ProductChannelExclusivityBuilder
    
    
      
      
      Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
   
     
  
  
  
   
  
    
    
  
    
      
  
  
    
      
        outlined_flag 
       
     
    
      
        
          The ProductChannelExclusivityBuilder is used to create ProductChannelExclusivity objects.
         
      
        
          You must specify the channel exclusivity using withChannelExclusivity() before building the object.
         
      
        
          You can optionally set the bid and value for the product channel exclusivity using withBid() and withValue().
         
      
        
          Calling build() creates a ProductChannelExclusivityOperation that corresponds to the creation of the ProductChannelExclusivity.
         
      
     
   
 
    
    
Builder for 
ProductChannelExclusivity 
objects.
  
Methods: 
  
  build()
  Builds the product channel exclusivity. Returns a 
ProductChannelExclusivityOperation  that corresponds
to the creation of the 
ProductChannelExclusivity .  
Return values: 
  
  withBid(bid)
  Specifies the bid of the product channel exclusivity. If this is unspecified, will
use the bid of the parent product group.  
Arguments: 
  
    Name Type Description 
      bid 
      doubleThe bid. 
     
  
  Return values: 
  
  withChannelExclusivity(channelExclusivity)
  Specifies the channel exclusivity of the new product channel exclusivity.
This must be called before calling 
ProductChannelExclusivityBuilder.build() 
otherwise, creation of the 
ProductChannelExclusivity 
will fail.  
Arguments: 
  
    Name Type Description 
      channelExclusivity 
      StringThe channel exclusivity to specify for the new
    product channel exclusivity. 
     
  
  Return values: 
  
  withValue(value)
  Specifies the value of the product channel exclusivity.  
Arguments: 
  
    Name Type Description 
      value 
      StringThe value. 
     
  
  Return values: 
  
  
  
     
  
    
      
       
    
    
      
    
     
  
       
    
    
      
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-16 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-16 UTC."],[],[]]