Google_Service_AdExchangeBuyer

Service definition for AdExchangeBuyer (v1.4).

Defined (2)

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

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