Google_Service_AdExchangeBuyer

Service definition for AdExchangeBuyer (v1.4).

Defined (1)

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

/lib/vendor/google/apiclient/src/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 $billingInfo; 
  7. public $creatives; 
  8. public $directDeals; 
  9. public $performanceReport; 
  10. public $pretargetingConfig; 
  11.  
  12.  
  13. /** 
  14. * Constructs the internal representation of the AdExchangeBuyer service. 
  15. * @param Google_Client $client 
  16. */ 
  17. public function __construct(Google_Client $client) 
  18. parent::__construct($client); 
  19. $this->servicePath = 'adexchangebuyer/v1.3/'; 
  20. $this->version = 'v1.3'; 
  21. $this->serviceName = 'adexchangebuyer'; 
  22.  
  23. $this->accounts = new Google_Service_AdExchangeBuyer_Accounts_Resource( 
  24. $this,  
  25. $this->serviceName,  
  26. 'accounts',  
  27. array( 
  28. 'methods' => array( 
  29. 'get' => array( 
  30. 'path' => 'accounts/{id}',  
  31. 'httpMethod' => 'GET',  
  32. 'parameters' => array( 
  33. 'id' => array( 
  34. 'location' => 'path',  
  35. 'type' => 'integer',  
  36. 'required' => true,  
  37. ),  
  38. ),  
  39. ), 'list' => array( 
  40. 'path' => 'accounts',  
  41. 'httpMethod' => 'GET',  
  42. 'parameters' => array(),  
  43. ), 'patch' => array( 
  44. 'path' => 'accounts/{id}',  
  45. 'httpMethod' => 'PATCH',  
  46. 'parameters' => array( 
  47. 'id' => array( 
  48. 'location' => 'path',  
  49. 'type' => 'integer',  
  50. 'required' => true,  
  51. ),  
  52. ),  
  53. ), 'update' => array( 
  54. 'path' => 'accounts/{id}',  
  55. 'httpMethod' => 'PUT',  
  56. 'parameters' => array( 
  57. 'id' => array( 
  58. 'location' => 'path',  
  59. 'type' => 'integer',  
  60. 'required' => true,  
  61. ),  
  62. ),  
  63. ),  
  64. ); 
  65. $this->billingInfo = new Google_Service_AdExchangeBuyer_BillingInfo_Resource( 
  66. $this,  
  67. $this->serviceName,  
  68. 'billingInfo',  
  69. array( 
  70. 'methods' => array( 
  71. 'get' => array( 
  72. 'path' => 'billinginfo/{accountId}',  
  73. 'httpMethod' => 'GET',  
  74. 'parameters' => array( 
  75. 'accountId' => array( 
  76. 'location' => 'path',  
  77. 'type' => 'integer',  
  78. 'required' => true,  
  79. ),  
  80. ),  
  81. ), 'list' => array( 
  82. 'path' => 'billinginfo',  
  83. 'httpMethod' => 'GET',  
  84. 'parameters' => array(),  
  85. ),  
  86. ); 
  87. $this->creatives = new Google_Service_AdExchangeBuyer_Creatives_Resource( 
  88. $this,  
  89. $this->serviceName,  
  90. 'creatives',  
  91. array( 
  92. 'methods' => array( 
  93. 'get' => array( 
  94. 'path' => 'creatives/{accountId}/{buyerCreativeId}',  
  95. 'httpMethod' => 'GET',  
  96. 'parameters' => array( 
  97. 'accountId' => array( 
  98. 'location' => 'path',  
  99. 'type' => 'integer',  
  100. 'required' => true,  
  101. ),  
  102. 'buyerCreativeId' => array( 
  103. 'location' => 'path',  
  104. 'type' => 'string',  
  105. 'required' => true,  
  106. ),  
  107. ),  
  108. ), 'insert' => array( 
  109. 'path' => 'creatives',  
  110. 'httpMethod' => 'POST',  
  111. 'parameters' => array(),  
  112. ), 'list' => array( 
  113. 'path' => 'creatives',  
  114. 'httpMethod' => 'GET',  
  115. 'parameters' => array( 
  116. 'statusFilter' => array( 
  117. 'location' => 'query',  
  118. 'type' => 'string',  
  119. ),  
  120. 'pageToken' => array( 
  121. 'location' => 'query',  
  122. 'type' => 'string',  
  123. ),  
  124. 'maxResults' => array( 
  125. 'location' => 'query',  
  126. 'type' => 'integer',  
  127. ),  
  128. 'buyerCreativeId' => array( 
  129. 'location' => 'query',  
  130. 'type' => 'string',  
  131. 'repeated' => true,  
  132. ),  
  133. 'accountId' => array( 
  134. 'location' => 'query',  
  135. 'type' => 'integer',  
  136. 'repeated' => true,  
  137. ),  
  138. ),  
  139. ),  
  140. ); 
  141. $this->directDeals = new Google_Service_AdExchangeBuyer_DirectDeals_Resource( 
  142. $this,  
  143. $this->serviceName,  
  144. 'directDeals',  
  145. array( 
  146. 'methods' => array( 
  147. 'get' => array( 
  148. 'path' => 'directdeals/{id}',  
  149. 'httpMethod' => 'GET',  
  150. 'parameters' => array( 
  151. 'id' => array( 
  152. 'location' => 'path',  
  153. 'type' => 'string',  
  154. 'required' => true,  
  155. ),  
  156. ),  
  157. ), 'list' => array( 
  158. 'path' => 'directdeals',  
  159. 'httpMethod' => 'GET',  
  160. 'parameters' => array(),  
  161. ),  
  162. ); 
  163. $this->performanceReport = new Google_Service_AdExchangeBuyer_PerformanceReport_Resource( 
  164. $this,  
  165. $this->serviceName,  
  166. 'performanceReport',  
  167. array( 
  168. 'methods' => array( 
  169. 'list' => array( 
  170. 'path' => 'performancereport',  
  171. 'httpMethod' => 'GET',  
  172. 'parameters' => array( 
  173. 'accountId' => array( 
  174. 'location' => 'query',  
  175. 'type' => 'string',  
  176. 'required' => true,  
  177. ),  
  178. 'endDateTime' => array( 
  179. 'location' => 'query',  
  180. 'type' => 'string',  
  181. 'required' => true,  
  182. ),  
  183. 'startDateTime' => array( 
  184. 'location' => 'query',  
  185. 'type' => 'string',  
  186. 'required' => true,  
  187. ),  
  188. 'pageToken' => array( 
  189. 'location' => 'query',  
  190. 'type' => 'string',  
  191. ),  
  192. 'maxResults' => array( 
  193. 'location' => 'query',  
  194. 'type' => 'integer',  
  195. ),  
  196. ),  
  197. ),  
  198. ); 
  199. $this->pretargetingConfig = new Google_Service_AdExchangeBuyer_PretargetingConfig_Resource( 
  200. $this,  
  201. $this->serviceName,  
  202. 'pretargetingConfig',  
  203. array( 
  204. 'methods' => array( 
  205. 'delete' => array( 
  206. 'path' => 'pretargetingconfigs/{accountId}/{configId}',  
  207. 'httpMethod' => 'DELETE',  
  208. 'parameters' => array( 
  209. 'accountId' => array( 
  210. 'location' => 'path',  
  211. 'type' => 'string',  
  212. 'required' => true,  
  213. ),  
  214. 'configId' => array( 
  215. 'location' => 'path',  
  216. 'type' => 'string',  
  217. 'required' => true,  
  218. ),  
  219. ),  
  220. ), 'get' => array( 
  221. 'path' => 'pretargetingconfigs/{accountId}/{configId}',  
  222. 'httpMethod' => 'GET',  
  223. 'parameters' => array( 
  224. 'accountId' => array( 
  225. 'location' => 'path',  
  226. 'type' => 'string',  
  227. 'required' => true,  
  228. ),  
  229. 'configId' => array( 
  230. 'location' => 'path',  
  231. 'type' => 'string',  
  232. 'required' => true,  
  233. ),  
  234. ),  
  235. ), 'insert' => array( 
  236. 'path' => 'pretargetingconfigs/{accountId}',  
  237. 'httpMethod' => 'POST',  
  238. 'parameters' => array( 
  239. 'accountId' => array( 
  240. 'location' => 'path',  
  241. 'type' => 'string',  
  242. 'required' => true,  
  243. ),  
  244. ),  
  245. ), 'list' => array( 
  246. 'path' => 'pretargetingconfigs/{accountId}',  
  247. 'httpMethod' => 'GET',  
  248. 'parameters' => array( 
  249. 'accountId' => array( 
  250. 'location' => 'path',  
  251. 'type' => 'string',  
  252. 'required' => true,  
  253. ),  
  254. ),  
  255. ), 'patch' => array( 
  256. 'path' => 'pretargetingconfigs/{accountId}/{configId}',  
  257. 'httpMethod' => 'PATCH',  
  258. 'parameters' => array( 
  259. 'accountId' => array( 
  260. 'location' => 'path',  
  261. 'type' => 'string',  
  262. 'required' => true,  
  263. ),  
  264. 'configId' => array( 
  265. 'location' => 'path',  
  266. 'type' => 'string',  
  267. 'required' => true,  
  268. ),  
  269. ),  
  270. ), 'update' => array( 
  271. 'path' => 'pretargetingconfigs/{accountId}/{configId}',  
  272. 'httpMethod' => 'PUT',  
  273. 'parameters' => array( 
  274. 'accountId' => array( 
  275. 'location' => 'path',  
  276. 'type' => 'string',  
  277. 'required' => true,  
  278. ),  
  279. 'configId' => array( 
  280. 'location' => 'path',  
  281. 'type' => 'string',  
  282. 'required' => true,  
  283. ),  
  284. ),  
  285. ),  
  286. );