Send feedback
  
   
 
  
    
      carrier_constant
    
    
      
      
      Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
    
  
  
  
   
  
    
    
  
    
      
  
  
    
      
        outlined_flag 
       
     
    
      
        
          A carrier constant is a criterion used for campaign targeting that can be defined by its country code, ID, name, and resource name.
         
      
        
          The carrier constant's country code, ID, name, and resource name fields are all output only attributes that can be filtered and selected.
         
      
        
          The ID and name fields of a carrier constant can be sorted, while the country code and resource name cannot.
         
      
     
   
 
    
    
  
    Help me build a query 
   
A carrier criterion that can be used in campaign targeting.
   
    
    
      
        
          
            carrier_constant.country_code  
          Field description Output only. The country code of the country where the carrier is located, for example, "AR", "FR", etc. Category ATTRIBUTEData Type STRINGType URL N/AFilterable True Selectable True Sortable True Repeated False 
       
     
      
        
          
            carrier_constant.id  
          Field description Output only. The ID of the carrier criterion. Category ATTRIBUTEData Type INT64Type URL N/AFilterable True Selectable True Sortable True Repeated False 
       
     
      
        
          
            carrier_constant.name  
          Field description Output only. The full name of the carrier in English. Category ATTRIBUTEData Type STRINGType URL N/AFilterable True Selectable True Sortable True Repeated False 
       
     
      
        
          
            carrier_constant.resource_name  
          Field description Output only. The resource name of the carrier criterion. Carrier criterion resource names have the form: carrierConstants/{criterion_id} Category ATTRIBUTEData Type RESOURCE_NAMEType URL N/AFilterable True Selectable True Sortable False Repeated False 
       
     
    
    
     
  
 
  
  
     
  
    
      
       
    
    
      
    
     
  
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
      
 
  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.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["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."],[],[]]