GoogleGAL_Service_AdExchangeBuyer

Service definition for AdExchangeBuyer (v1.3).

Defined (1)

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

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