Method: accounts.adclients.get
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
    
    
      
      
      
        Gets the ad client from the given resource name.
      
      
        
          HTTP request
          GET https://adsense.googleapis.com/v2/{name=accounts/*/adclients/*}
The URL uses gRPC Transcoding syntax.
        
        
          Path parameters
          
            
              
              
            
            
              
                | Parameters | 
              
            
            
              
                name | 
                
                   string 
                  Required. The name of the ad client to retrieve. Format: accounts/{account}/adclients/{adclient} 
                 | 
              
            
          
        
        
          Request body
          The request body must be empty.
        
        
          Response body
          If successful, the response body contains an instance of AdClient.
        
        
          Authorization scopes
          Requires one of the following OAuth scopes:
          
            https://www.googleapis.com/auth/adsense 
            
          https://www.googleapis.com/auth/adsense.readonly 
          
        
      
      
    
  
  
  
 
  
    
    
      
       
    
    
  
  
  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 2024-08-21 UTC.
  
  
  
    
      [null,null,["Last updated 2024-08-21 UTC."],[],["This outlines retrieving an ad client using a GET request to `https://adsense.googleapis.com/v2/{name=accounts/*/adclients/*}`.  The `name` path parameter, a string, is mandatory and follows the format `accounts/{account}/adclients/{adclient}`. The request body must be empty.  Upon success, the response body will contain an `AdClient` instance. This action requires either the `https://www.googleapis.com/auth/adsense` or `https://www.googleapis.com/auth/adsense.readonly` OAuth scope for authorization.\n"]]