AdsApp.ProductConditionBuilder
    
    
      
      
      Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
   
     
  
  
  
   
  
    
    
  
    
      
  
  
    
      
        outlined_flag 
       
     
    
      
        
          The content describes a Builder for ProductCondition objects.
         
      
        
          The build() method constructs the product condition and returns a ProductConditionOperation.
         
      
        
          The withBid(bid) method sets the bid for the product condition.
         
      
        
          The withCondition(condition) method sets the condition for the new product condition, which is required for building.
         
      
        
          The withValue(value) method specifies the value of the product condition.
         
      
     
   
 
    
    
Builder for 
ProductCondition 
objects.
  
Methods: 
  
  build()
  Builds the product condition. Returns a 
ProductConditionOperation  that corresponds
to the creation of the 
ProductCondition .  
Return values: 
  
  withBid(bid)
  Specifies the bid of the product condition. If this is unspecified, will
use the bid of the parent product group.  
Arguments: 
  
    Name Type Description 
      bid 
      doubleThe bid. 
     
  
  Return values: 
  
  withCondition(condition)
  Specifies the condition of the new product condition. If the condition is
unspecified before calling 'build', the condition will fail to build.  
Arguments: 
  
    Name Type Description 
      condition 
      StringThe condition to specify for the new product condition. 
     
  
  Return values: 
  
  withValue(value)
  Specifies the value of the product condition.  
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."],[],[]]