Google_Service_AdExchangeBuyer

Service definition for AdExchangeBuyer (v1.4).

Defined (1)

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

/inc/VideoUploader/includes/Google/Service/AdExchangeBuyer.php  
  1. class Google_Service_AdExchangeBuyer extends Google_Service 
  2. /** Manage your Ad Exchange buyer account configuration. */ 
  3. const ADEXCHANGE_BUYER = 
  4. "https://www.googleapis.com/auth/adexchange.buyer"; 
  5.  
  6. public $accounts; 
  7. public $billingInfo; 
  8. public $budget; 
  9. public $creatives; 
  10. public $directDeals; 
  11. public $performanceReport; 
  12. public $pretargetingConfig; 
  13.  
  14.  
  15. /** 
  16. * Constructs the internal representation of the AdExchangeBuyer service. 
  17. * @param Google_Client $client 
  18. */ 
  19. public function __construct(Google_Client $client) 
  20. parent::__construct($client); 
  21. $this->rootUrl = 'https://www.googleapis.com/'; 
  22. $this->servicePath = 'adexchangebuyer/v1.3/'; 
  23. $this->version = 'v1.3'; 
  24. $this->serviceName = 'adexchangebuyer'; 
  25.  
  26. $this->accounts = new Google_Service_AdExchangeBuyer_Accounts_Resource( 
  27. $this,  
  28. $this->serviceName,  
  29. 'accounts',  
  30. array( 
  31. 'methods' => array( 
  32. 'get' => array( 
  33. 'path' => 'accounts/{id}',  
  34. 'httpMethod' => 'GET',  
  35. 'parameters' => array( 
  36. 'id' => array( 
  37. 'location' => 'path',  
  38. 'type' => 'integer',  
  39. 'required' => true,  
  40. ),  
  41. ),  
  42. ), 'list' => array( 
  43. 'path' => 'accounts',  
  44. 'httpMethod' => 'GET',  
  45. 'parameters' => array(),  
  46. ), 'patch' => array( 
  47. 'path' => 'accounts/{id}',  
  48. 'httpMethod' => 'PATCH',  
  49. 'parameters' => array( 
  50. 'id' => array( 
  51. 'location' => 'path',  
  52. 'type' => 'integer',  
  53. 'required' => true,  
  54. ),  
  55. ),  
  56. ), 'update' => array( 
  57. 'path' => 'accounts/{id}',  
  58. 'httpMethod' => 'PUT',  
  59. 'parameters' => array( 
  60. 'id' => array( 
  61. 'location' => 'path',  
  62. 'type' => 'integer',  
  63. 'required' => true,  
  64. ),  
  65. ),  
  66. ),  
  67. ); 
  68. $this->billingInfo = new Google_Service_AdExchangeBuyer_BillingInfo_Resource( 
  69. $this,  
  70. $this->serviceName,  
  71. 'billingInfo',  
  72. array( 
  73. 'methods' => array( 
  74. 'get' => array( 
  75. 'path' => 'billinginfo/{accountId}',  
  76. 'httpMethod' => 'GET',  
  77. 'parameters' => array( 
  78. 'accountId' => array( 
  79. 'location' => 'path',  
  80. 'type' => 'integer',  
  81. 'required' => true,  
  82. ),  
  83. ),  
  84. ), 'list' => array( 
  85. 'path' => 'billinginfo',  
  86. 'httpMethod' => 'GET',  
  87. 'parameters' => array(),  
  88. ),  
  89. ); 
  90. $this->budget = new Google_Service_AdExchangeBuyer_Budget_Resource( 
  91. $this,  
  92. $this->serviceName,  
  93. 'budget',  
  94. array( 
  95. 'methods' => array( 
  96. 'get' => array( 
  97. 'path' => 'billinginfo/{accountId}/{billingId}',  
  98. 'httpMethod' => 'GET',  
  99. 'parameters' => array( 
  100. 'accountId' => array( 
  101. 'location' => 'path',  
  102. 'type' => 'string',  
  103. 'required' => true,  
  104. ),  
  105. 'billingId' => array( 
  106. 'location' => 'path',  
  107. 'type' => 'string',  
  108. 'required' => true,  
  109. ),  
  110. ),  
  111. ), 'patch' => array( 
  112. 'path' => 'billinginfo/{accountId}/{billingId}',  
  113. 'httpMethod' => 'PATCH',  
  114. 'parameters' => array( 
  115. 'accountId' => array( 
  116. 'location' => 'path',  
  117. 'type' => 'string',  
  118. 'required' => true,  
  119. ),  
  120. 'billingId' => array( 
  121. 'location' => 'path',  
  122. 'type' => 'string',  
  123. 'required' => true,  
  124. ),  
  125. ),  
  126. ), 'update' => array( 
  127. 'path' => 'billinginfo/{accountId}/{billingId}',  
  128. 'httpMethod' => 'PUT',  
  129. 'parameters' => array( 
  130. 'accountId' => array( 
  131. 'location' => 'path',  
  132. 'type' => 'string',  
  133. 'required' => true,  
  134. ),  
  135. 'billingId' => array( 
  136. 'location' => 'path',  
  137. 'type' => 'string',  
  138. 'required' => true,  
  139. ),  
  140. ),  
  141. ),  
  142. ); 
  143. $this->creatives = new Google_Service_AdExchangeBuyer_Creatives_Resource( 
  144. $this,  
  145. $this->serviceName,  
  146. 'creatives',  
  147. array( 
  148. 'methods' => array( 
  149. 'get' => array( 
  150. 'path' => 'creatives/{accountId}/{buyerCreativeId}',  
  151. 'httpMethod' => 'GET',  
  152. 'parameters' => array( 
  153. 'accountId' => array( 
  154. 'location' => 'path',  
  155. 'type' => 'integer',  
  156. 'required' => true,  
  157. ),  
  158. 'buyerCreativeId' => array( 
  159. 'location' => 'path',  
  160. 'type' => 'string',  
  161. 'required' => true,  
  162. ),  
  163. ),  
  164. ), 'insert' => array( 
  165. 'path' => 'creatives',  
  166. 'httpMethod' => 'POST',  
  167. 'parameters' => array(),  
  168. ), 'list' => array( 
  169. 'path' => 'creatives',  
  170. 'httpMethod' => 'GET',  
  171. 'parameters' => array( 
  172. 'statusFilter' => array( 
  173. 'location' => 'query',  
  174. 'type' => 'string',  
  175. ),  
  176. 'pageToken' => array( 
  177. 'location' => 'query',  
  178. 'type' => 'string',  
  179. ),  
  180. 'maxResults' => array( 
  181. 'location' => 'query',  
  182. 'type' => 'integer',  
  183. ),  
  184. 'buyerCreativeId' => array( 
  185. 'location' => 'query',  
  186. 'type' => 'string',  
  187. 'repeated' => true,  
  188. ),  
  189. 'accountId' => array( 
  190. 'location' => 'query',  
  191. 'type' => 'integer',  
  192. 'repeated' => true,  
  193. ),  
  194. ),  
  195. ),  
  196. ); 
  197. $this->directDeals = new Google_Service_AdExchangeBuyer_DirectDeals_Resource( 
  198. $this,  
  199. $this->serviceName,  
  200. 'directDeals',  
  201. array( 
  202. 'methods' => array( 
  203. 'get' => array( 
  204. 'path' => 'directdeals/{id}',  
  205. 'httpMethod' => 'GET',  
  206. 'parameters' => array( 
  207. 'id' => array( 
  208. 'location' => 'path',  
  209. 'type' => 'string',  
  210. 'required' => true,  
  211. ),  
  212. ),  
  213. ), 'list' => array( 
  214. 'path' => 'directdeals',  
  215. 'httpMethod' => 'GET',  
  216. 'parameters' => array(),  
  217. ),  
  218. ); 
  219. $this->performanceReport = new Google_Service_AdExchangeBuyer_PerformanceReport_Resource( 
  220. $this,  
  221. $this->serviceName,  
  222. 'performanceReport',  
  223. array( 
  224. 'methods' => array( 
  225. 'list' => array( 
  226. 'path' => 'performancereport',  
  227. 'httpMethod' => 'GET',  
  228. 'parameters' => array( 
  229. 'accountId' => array( 
  230. 'location' => 'query',  
  231. 'type' => 'string',  
  232. 'required' => true,  
  233. ),  
  234. 'endDateTime' => array( 
  235. 'location' => 'query',  
  236. 'type' => 'string',  
  237. 'required' => true,  
  238. ),  
  239. 'startDateTime' => array( 
  240. 'location' => 'query',  
  241. 'type' => 'string',  
  242. 'required' => true,  
  243. ),  
  244. 'pageToken' => array( 
  245. 'location' => 'query',  
  246. 'type' => 'string',  
  247. ),  
  248. 'maxResults' => array( 
  249. 'location' => 'query',  
  250. 'type' => 'integer',  
  251. ),  
  252. ),  
  253. ),  
  254. ); 
  255. $this->pretargetingConfig = new Google_Service_AdExchangeBuyer_PretargetingConfig_Resource( 
  256. $this,  
  257. $this->serviceName,  
  258. 'pretargetingConfig',  
  259. array( 
  260. 'methods' => array( 
  261. 'delete' => array( 
  262. 'path' => 'pretargetingconfigs/{accountId}/{configId}',  
  263. 'httpMethod' => 'DELETE',  
  264. 'parameters' => array( 
  265. 'accountId' => array( 
  266. 'location' => 'path',  
  267. 'type' => 'string',  
  268. 'required' => true,  
  269. ),  
  270. 'configId' => array( 
  271. 'location' => 'path',  
  272. 'type' => 'string',  
  273. 'required' => true,  
  274. ),  
  275. ),  
  276. ), 'get' => array( 
  277. 'path' => 'pretargetingconfigs/{accountId}/{configId}',  
  278. 'httpMethod' => 'GET',  
  279. 'parameters' => array( 
  280. 'accountId' => array( 
  281. 'location' => 'path',  
  282. 'type' => 'string',  
  283. 'required' => true,  
  284. ),  
  285. 'configId' => array( 
  286. 'location' => 'path',  
  287. 'type' => 'string',  
  288. 'required' => true,  
  289. ),  
  290. ),  
  291. ), 'insert' => array( 
  292. 'path' => 'pretargetingconfigs/{accountId}',  
  293. 'httpMethod' => 'POST',  
  294. 'parameters' => array( 
  295. 'accountId' => array( 
  296. 'location' => 'path',  
  297. 'type' => 'string',  
  298. 'required' => true,  
  299. ),  
  300. ),  
  301. ), 'list' => array( 
  302. 'path' => 'pretargetingconfigs/{accountId}',  
  303. 'httpMethod' => 'GET',  
  304. 'parameters' => array( 
  305. 'accountId' => array( 
  306. 'location' => 'path',  
  307. 'type' => 'string',  
  308. 'required' => true,  
  309. ),  
  310. ),  
  311. ), 'patch' => array( 
  312. 'path' => 'pretargetingconfigs/{accountId}/{configId}',  
  313. 'httpMethod' => 'PATCH',  
  314. 'parameters' => array( 
  315. 'accountId' => array( 
  316. 'location' => 'path',  
  317. 'type' => 'string',  
  318. 'required' => true,  
  319. ),  
  320. 'configId' => array( 
  321. 'location' => 'path',  
  322. 'type' => 'string',  
  323. 'required' => true,  
  324. ),  
  325. ),  
  326. ), 'update' => array( 
  327. 'path' => 'pretargetingconfigs/{accountId}/{configId}',  
  328. 'httpMethod' => 'PUT',  
  329. 'parameters' => array( 
  330. 'accountId' => array( 
  331. 'location' => 'path',  
  332. 'type' => 'string',  
  333. 'required' => true,  
  334. ),  
  335. 'configId' => array( 
  336. 'location' => 'path',  
  337. 'type' => 'string',  
  338. 'required' => true,  
  339. ),  
  340. ),  
  341. ),  
  342. );