The "adunits" collection of methods.  
 More...
|  | 
|  | call ($name, $arguments, $expected_class=null) | 
|  | TODO: This function needs simplifying. 
 | 
|  | 
|  | get ($accountId, $adClientId, $adUnitId, $optParams=array()) | 
|  | Gets the specified ad unit in the specified ad client for the specified account. 
 | 
|  | 
|  | getAdCode ($accountId, $adClientId, $adUnitId, $optParams=array()) | 
|  | Get ad code for the specified ad unit. 
 | 
|  | 
|  | listAccountsAdunits ($accountId, $adClientId, $optParams=array()) | 
|  | List all ad units in the specified ad client for the specified account. 
 | 
|  | 
|  | 
|  | convertToArrayAndStripNulls ($o) | 
|  | 
The "adunits" collection of methods. 
Typical usage is:  $adsenseService = new Google_Service_AdSense(...); $adunits = $adsenseService->adunits;  
◆ call()
  
  | 
        
          | Google_Service_Resource::call | ( |  | $name, |  
          |  |  |  | $arguments, |  
          |  |  |  | $expected_class = null ) |  | inherited | 
 
TODO: This function needs simplifying. 
- Parameters
- 
  
    | $name |  |  | $arguments |  |  | $expected_class | - optional, the expected class name |  
 
- Return values
- 
  
    | Google_Http_Request|expected_class |  |  
 
- Exceptions
- 
  
  
 
 
◆ get()
      
        
          | Google_Service_AdSense_AccountsAdunits_Resource::get | ( |  | $accountId, | 
        
          |  |  |  | $adClientId, | 
        
          |  |  |  | $adUnitId, | 
        
          |  |  |  | $optParams = array() ) | 
      
 
Gets the specified ad unit in the specified ad client for the specified account. 
(adunits.get)
- Parameters
- 
  
    | string | $accountId | Account to which the ad client belongs. |  | string | $adClientId | Ad client for which to get the ad unit. |  | string | $adUnitId | Ad unit to retrieve. |  | array | $optParams | Optional parameters. |  
 
- Return values
- 
  
  
 
 
◆ getAdCode()
      
        
          | Google_Service_AdSense_AccountsAdunits_Resource::getAdCode | ( |  | $accountId, | 
        
          |  |  |  | $adClientId, | 
        
          |  |  |  | $adUnitId, | 
        
          |  |  |  | $optParams = array() ) | 
      
 
Get ad code for the specified ad unit. 
(adunits.getAdCode)
- Parameters
- 
  
    | string | $accountId | Account which contains the ad client. |  | string | $adClientId | Ad client with contains the ad unit. |  | string | $adUnitId | Ad unit to get the code for. |  | array | $optParams | Optional parameters. |  
 
- Return values
- 
  
  
 
 
◆ listAccountsAdunits()
      
        
          | Google_Service_AdSense_AccountsAdunits_Resource::listAccountsAdunits | ( |  | $accountId, | 
        
          |  |  |  | $adClientId, | 
        
          |  |  |  | $optParams = array() ) | 
      
 
List all ad units in the specified ad client for the specified account. 
(adunits.listAccountsAdunits)
- Parameters
- 
  
    | string | $accountId | Account to which the ad client belongs. |  | string | $adClientId | Ad client for which to list ad units. |  | array | $optParams | Optional parameters. |  
 
@opt_param bool includeInactive Whether to include inactive ad units. Default: true. @opt_param string pageToken A continuation token, used to page through ad units. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response. @opt_param int maxResults The maximum number of ad units to include in the response, used for paging. 
- Return values
- 
  
  
 
 
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/AdSense.php