Google_Service_AdExchangeBuyer

Service definition for AdExchangeBuyer (v1.4).

Defined (1)

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

/lib/Google/Service/AdExchangeBuyer.php  
  1. class Google_Service_AdExchangeBuyer extends Google_Service 
  2. /** Manage your Ad Exchange buyer account configuration. */ 
  3. const ADEXCHANGE_BUYER = "https://www.googleapis.com/auth/adexchange.buyer"; 
  4.  
  5. public $accounts; 
  6. public $creatives; 
  7. public $directDeals; 
  8. public $performanceReport; 
  9.  
  10.  
  11. /** 
  12. * Constructs the internal representation of the AdExchangeBuyer service. 
  13. * @param Google_Client $client 
  14. */ 
  15. public function __construct(Google_Client $client) 
  16. parent::__construct($client); 
  17. $this->servicePath = 'adexchangebuyer/v1.3/'; 
  18. $this->version = 'v1.3'; 
  19. $this->serviceName = 'adexchangebuyer'; 
  20.  
  21. $this->accounts = new Google_Service_AdExchangeBuyer_Accounts_Resource( 
  22. $this,  
  23. $this->serviceName,  
  24. 'accounts',  
  25. array( 
  26. 'methods' => array( 
  27. 'get' => array( 
  28. 'path' => 'accounts/{id}',  
  29. 'httpMethod' => 'GET',  
  30. 'parameters' => array( 
  31. 'id' => array( 
  32. 'location' => 'path',  
  33. 'type' => 'integer',  
  34. 'required' => true,  
  35. ),  
  36. ),  
  37. ), 'list' => array( 
  38. 'path' => 'accounts',  
  39. 'httpMethod' => 'GET',  
  40. 'parameters' => array(),  
  41. ), 'patch' => array( 
  42. 'path' => 'accounts/{id}',  
  43. 'httpMethod' => 'PATCH',  
  44. 'parameters' => array( 
  45. 'id' => array( 
  46. 'location' => 'path',  
  47. 'type' => 'integer',  
  48. 'required' => true,  
  49. ),  
  50. ),  
  51. ), 'update' => array( 
  52. 'path' => 'accounts/{id}',  
  53. 'httpMethod' => 'PUT',  
  54. 'parameters' => array( 
  55. 'id' => array( 
  56. 'location' => 'path',  
  57. 'type' => 'integer',  
  58. 'required' => true,  
  59. ),  
  60. ),  
  61. ),  
  62. ); 
  63. $this->creatives = new Google_Service_AdExchangeBuyer_Creatives_Resource( 
  64. $this,  
  65. $this->serviceName,  
  66. 'creatives',  
  67. array( 
  68. 'methods' => array( 
  69. 'get' => array( 
  70. 'path' => 'creatives/{accountId}/{buyerCreativeId}',  
  71. 'httpMethod' => 'GET',  
  72. 'parameters' => array( 
  73. 'accountId' => array( 
  74. 'location' => 'path',  
  75. 'type' => 'integer',  
  76. 'required' => true,  
  77. ),  
  78. 'buyerCreativeId' => array( 
  79. 'location' => 'path',  
  80. 'type' => 'string',  
  81. 'required' => true,  
  82. ),  
  83. ),  
  84. ), 'insert' => array( 
  85. 'path' => 'creatives',  
  86. 'httpMethod' => 'POST',  
  87. 'parameters' => array(),  
  88. ), 'list' => array( 
  89. 'path' => 'creatives',  
  90. 'httpMethod' => 'GET',  
  91. 'parameters' => array( 
  92. 'statusFilter' => array( 
  93. 'location' => 'query',  
  94. 'type' => 'string',  
  95. ),  
  96. 'pageToken' => array( 
  97. 'location' => 'query',  
  98. 'type' => 'string',  
  99. ),  
  100. 'maxResults' => array( 
  101. 'location' => 'query',  
  102. 'type' => 'integer',  
  103. ),  
  104. 'buyerCreativeId' => array( 
  105. 'location' => 'query',  
  106. 'type' => 'string',  
  107. 'repeated' => true,  
  108. ),  
  109. 'accountId' => array( 
  110. 'location' => 'query',  
  111. 'type' => 'integer',  
  112. 'repeated' => true,  
  113. ),  
  114. ),  
  115. ),  
  116. ); 
  117. $this->directDeals = new Google_Service_AdExchangeBuyer_DirectDeals_Resource( 
  118. $this,  
  119. $this->serviceName,  
  120. 'directDeals',  
  121. array( 
  122. 'methods' => array( 
  123. 'get' => array( 
  124. 'path' => 'directdeals/{id}',  
  125. 'httpMethod' => 'GET',  
  126. 'parameters' => array( 
  127. 'id' => array( 
  128. 'location' => 'path',  
  129. 'type' => 'string',  
  130. 'required' => true,  
  131. ),  
  132. ),  
  133. ), 'list' => array( 
  134. 'path' => 'directdeals',  
  135. 'httpMethod' => 'GET',  
  136. 'parameters' => array(),  
  137. ),  
  138. ); 
  139. $this->performanceReport = new Google_Service_AdExchangeBuyer_PerformanceReport_Resource( 
  140. $this,  
  141. $this->serviceName,  
  142. 'performanceReport',  
  143. array( 
  144. 'methods' => array( 
  145. 'list' => array( 
  146. 'path' => 'performancereport',  
  147. 'httpMethod' => 'GET',  
  148. 'parameters' => array( 
  149. 'accountId' => array( 
  150. 'location' => 'query',  
  151. 'type' => 'string',  
  152. 'required' => true,  
  153. ),  
  154. 'endDateTime' => array( 
  155. 'location' => 'query',  
  156. 'type' => 'string',  
  157. 'required' => true,  
  158. ),  
  159. 'startDateTime' => array( 
  160. 'location' => 'query',  
  161. 'type' => 'string',  
  162. 'required' => true,  
  163. ),  
  164. 'pageToken' => array( 
  165. 'location' => 'query',  
  166. 'type' => 'string',  
  167. ),  
  168. 'maxResults' => array( 
  169. 'location' => 'query',  
  170. 'type' => 'integer',  
  171. ),  
  172. ),  
  173. ),  
  174. );