Google_Service_AdSenseHost_AdUnit

The SZ - Google Google Service AdSenseHost AdUnit class.

Defined (1)

The class is defined in the following location(s).

/lib/Google/Service/AdSenseHost.php  
  1. class Google_Service_AdSenseHost_AdUnit extends Google_Model 
  2. public $code; 
  3. protected $contentAdsSettingsType = 'Google_Service_AdSenseHost_AdUnitContentAdsSettings'; 
  4. protected $contentAdsSettingsDataType = ''; 
  5. protected $customStyleType = 'Google_Service_AdSenseHost_AdStyle'; 
  6. protected $customStyleDataType = ''; 
  7. public $id; 
  8. public $kind; 
  9. protected $mobileContentAdsSettingsType = 'Google_Service_AdSenseHost_AdUnitMobileContentAdsSettings'; 
  10. protected $mobileContentAdsSettingsDataType = ''; 
  11. public $name; 
  12. public $status; 
  13.  
  14. public function setCode($code) 
  15. $this->code = $code; 
  16.  
  17. public function getCode() 
  18. return $this->code; 
  19.  
  20. public function setContentAdsSettings(Google_Service_AdSenseHost_AdUnitContentAdsSettings $contentAdsSettings) 
  21. $this->contentAdsSettings = $contentAdsSettings; 
  22.  
  23. public function getContentAdsSettings() 
  24. return $this->contentAdsSettings; 
  25.  
  26. public function setCustomStyle(Google_Service_AdSenseHost_AdStyle $customStyle) 
  27. $this->customStyle = $customStyle; 
  28.  
  29. public function getCustomStyle() 
  30. return $this->customStyle; 
  31.  
  32. public function setId($id) 
  33. $this->id = $id; 
  34.  
  35. public function getId() 
  36. return $this->id; 
  37.  
  38. public function setKind($kind) 
  39. $this->kind = $kind; 
  40.  
  41. public function getKind() 
  42. return $this->kind; 
  43.  
  44. public function setMobileContentAdsSettings(Google_Service_AdSenseHost_AdUnitMobileContentAdsSettings $mobileContentAdsSettings) 
  45. $this->mobileContentAdsSettings = $mobileContentAdsSettings; 
  46.  
  47. public function getMobileContentAdsSettings() 
  48. return $this->mobileContentAdsSettings; 
  49.  
  50. public function setName($name) 
  51. $this->name = $name; 
  52.  
  53. public function getName() 
  54. return $this->name; 
  55.  
  56. public function setStatus($status) 
  57. $this->status = $status; 
  58.  
  59. public function getStatus() 
  60. return $this->status;