Google_Service_AdSense_AdUnit

The SZ - Google Google Service AdSense AdUnit class.

Defined (1)

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

/lib/Google/Service/AdSense.php  
  1. class Google_Service_AdSense_AdUnit extends Google_Model 
  2. public $code; 
  3. protected $contentAdsSettingsType = 'Google_Service_AdSense_AdUnitContentAdsSettings'; 
  4. protected $contentAdsSettingsDataType = ''; 
  5. protected $customStyleType = 'Google_Service_AdSense_AdStyle'; 
  6. protected $customStyleDataType = ''; 
  7. protected $feedAdsSettingsType = 'Google_Service_AdSense_AdUnitFeedAdsSettings'; 
  8. protected $feedAdsSettingsDataType = ''; 
  9. public $id; 
  10. public $kind; 
  11. protected $mobileContentAdsSettingsType = 'Google_Service_AdSense_AdUnitMobileContentAdsSettings'; 
  12. protected $mobileContentAdsSettingsDataType = ''; 
  13. public $name; 
  14. public $savedStyleId; 
  15. public $status; 
  16.  
  17. public function setCode($code) 
  18. $this->code = $code; 
  19.  
  20. public function getCode() 
  21. return $this->code; 
  22.  
  23. public function setContentAdsSettings(Google_Service_AdSense_AdUnitContentAdsSettings $contentAdsSettings) 
  24. $this->contentAdsSettings = $contentAdsSettings; 
  25.  
  26. public function getContentAdsSettings() 
  27. return $this->contentAdsSettings; 
  28.  
  29. public function setCustomStyle(Google_Service_AdSense_AdStyle $customStyle) 
  30. $this->customStyle = $customStyle; 
  31.  
  32. public function getCustomStyle() 
  33. return $this->customStyle; 
  34.  
  35. public function setFeedAdsSettings(Google_Service_AdSense_AdUnitFeedAdsSettings $feedAdsSettings) 
  36. $this->feedAdsSettings = $feedAdsSettings; 
  37.  
  38. public function getFeedAdsSettings() 
  39. return $this->feedAdsSettings; 
  40.  
  41. public function setId($id) 
  42. $this->id = $id; 
  43.  
  44. public function getId() 
  45. return $this->id; 
  46.  
  47. public function setKind($kind) 
  48. $this->kind = $kind; 
  49.  
  50. public function getKind() 
  51. return $this->kind; 
  52.  
  53. public function setMobileContentAdsSettings(Google_Service_AdSense_AdUnitMobileContentAdsSettings $mobileContentAdsSettings) 
  54. $this->mobileContentAdsSettings = $mobileContentAdsSettings; 
  55.  
  56. public function getMobileContentAdsSettings() 
  57. return $this->mobileContentAdsSettings; 
  58.  
  59. public function setName($name) 
  60. $this->name = $name; 
  61.  
  62. public function getName() 
  63. return $this->name; 
  64.  
  65. public function setSavedStyleId($savedStyleId) 
  66. $this->savedStyleId = $savedStyleId; 
  67.  
  68. public function getSavedStyleId() 
  69. return $this->savedStyleId; 
  70.  
  71. public function setStatus($status) 
  72. $this->status = $status; 
  73.  
  74. public function getStatus() 
  75. return $this->status;