/vendor/google/apiclient-services/src/Doubleclicksearch/Conversion.php

https://gitlab.com/Japang-Jawara/jawara-penilaian · PHP · 617 lines · 306 code · 4 blank · 307 comment · 0 complexity · 04bf3b646a702a8f1a0e81838f2aeeb4 MD5 · raw file

  1. <?php
  2. /*
  3. * Copyright 2014 Google Inc.
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  6. * use this file except in compliance with the License. You may obtain a copy of
  7. * the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  13. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  14. * License for the specific language governing permissions and limitations under
  15. * the License.
  16. */
  17. namespace Google\Service\Doubleclicksearch;
  18. class Conversion extends \Google\Collection
  19. {
  20. protected $collection_key = 'customMetric';
  21. /**
  22. * @var string
  23. */
  24. public $adGroupId;
  25. /**
  26. * @var string
  27. */
  28. public $adId;
  29. /**
  30. * @var string
  31. */
  32. public $advertiserId;
  33. /**
  34. * @var string
  35. */
  36. public $agencyId;
  37. /**
  38. * @var string
  39. */
  40. public $attributionModel;
  41. /**
  42. * @var string
  43. */
  44. public $campaignId;
  45. /**
  46. * @var string
  47. */
  48. public $channel;
  49. /**
  50. * @var string
  51. */
  52. public $clickId;
  53. /**
  54. * @var string
  55. */
  56. public $conversionId;
  57. /**
  58. * @var string
  59. */
  60. public $conversionModifiedTimestamp;
  61. /**
  62. * @var string
  63. */
  64. public $conversionTimestamp;
  65. /**
  66. * @var string
  67. */
  68. public $countMillis;
  69. /**
  70. * @var string
  71. */
  72. public $criterionId;
  73. /**
  74. * @var string
  75. */
  76. public $currencyCode;
  77. protected $customDimensionType = CustomDimension::class;
  78. protected $customDimensionDataType = 'array';
  79. protected $customMetricType = CustomMetric::class;
  80. protected $customMetricDataType = 'array';
  81. /**
  82. * @var string
  83. */
  84. public $deviceType;
  85. /**
  86. * @var string
  87. */
  88. public $dsConversionId;
  89. /**
  90. * @var string
  91. */
  92. public $engineAccountId;
  93. /**
  94. * @var string
  95. */
  96. public $floodlightOrderId;
  97. /**
  98. * @var string
  99. */
  100. public $inventoryAccountId;
  101. /**
  102. * @var string
  103. */
  104. public $productCountry;
  105. /**
  106. * @var string
  107. */
  108. public $productGroupId;
  109. /**
  110. * @var string
  111. */
  112. public $productId;
  113. /**
  114. * @var string
  115. */
  116. public $productLanguage;
  117. /**
  118. * @var string
  119. */
  120. public $quantityMillis;
  121. /**
  122. * @var string
  123. */
  124. public $revenueMicros;
  125. /**
  126. * @var string
  127. */
  128. public $segmentationId;
  129. /**
  130. * @var string
  131. */
  132. public $segmentationName;
  133. /**
  134. * @var string
  135. */
  136. public $segmentationType;
  137. /**
  138. * @var string
  139. */
  140. public $state;
  141. /**
  142. * @var string
  143. */
  144. public $storeId;
  145. /**
  146. * @var string
  147. */
  148. public $type;
  149. /**
  150. * @param string
  151. */
  152. public function setAdGroupId($adGroupId)
  153. {
  154. $this->adGroupId = $adGroupId;
  155. }
  156. /**
  157. * @return string
  158. */
  159. public function getAdGroupId()
  160. {
  161. return $this->adGroupId;
  162. }
  163. /**
  164. * @param string
  165. */
  166. public function setAdId($adId)
  167. {
  168. $this->adId = $adId;
  169. }
  170. /**
  171. * @return string
  172. */
  173. public function getAdId()
  174. {
  175. return $this->adId;
  176. }
  177. /**
  178. * @param string
  179. */
  180. public function setAdvertiserId($advertiserId)
  181. {
  182. $this->advertiserId = $advertiserId;
  183. }
  184. /**
  185. * @return string
  186. */
  187. public function getAdvertiserId()
  188. {
  189. return $this->advertiserId;
  190. }
  191. /**
  192. * @param string
  193. */
  194. public function setAgencyId($agencyId)
  195. {
  196. $this->agencyId = $agencyId;
  197. }
  198. /**
  199. * @return string
  200. */
  201. public function getAgencyId()
  202. {
  203. return $this->agencyId;
  204. }
  205. /**
  206. * @param string
  207. */
  208. public function setAttributionModel($attributionModel)
  209. {
  210. $this->attributionModel = $attributionModel;
  211. }
  212. /**
  213. * @return string
  214. */
  215. public function getAttributionModel()
  216. {
  217. return $this->attributionModel;
  218. }
  219. /**
  220. * @param string
  221. */
  222. public function setCampaignId($campaignId)
  223. {
  224. $this->campaignId = $campaignId;
  225. }
  226. /**
  227. * @return string
  228. */
  229. public function getCampaignId()
  230. {
  231. return $this->campaignId;
  232. }
  233. /**
  234. * @param string
  235. */
  236. public function setChannel($channel)
  237. {
  238. $this->channel = $channel;
  239. }
  240. /**
  241. * @return string
  242. */
  243. public function getChannel()
  244. {
  245. return $this->channel;
  246. }
  247. /**
  248. * @param string
  249. */
  250. public function setClickId($clickId)
  251. {
  252. $this->clickId = $clickId;
  253. }
  254. /**
  255. * @return string
  256. */
  257. public function getClickId()
  258. {
  259. return $this->clickId;
  260. }
  261. /**
  262. * @param string
  263. */
  264. public function setConversionId($conversionId)
  265. {
  266. $this->conversionId = $conversionId;
  267. }
  268. /**
  269. * @return string
  270. */
  271. public function getConversionId()
  272. {
  273. return $this->conversionId;
  274. }
  275. /**
  276. * @param string
  277. */
  278. public function setConversionModifiedTimestamp($conversionModifiedTimestamp)
  279. {
  280. $this->conversionModifiedTimestamp = $conversionModifiedTimestamp;
  281. }
  282. /**
  283. * @return string
  284. */
  285. public function getConversionModifiedTimestamp()
  286. {
  287. return $this->conversionModifiedTimestamp;
  288. }
  289. /**
  290. * @param string
  291. */
  292. public function setConversionTimestamp($conversionTimestamp)
  293. {
  294. $this->conversionTimestamp = $conversionTimestamp;
  295. }
  296. /**
  297. * @return string
  298. */
  299. public function getConversionTimestamp()
  300. {
  301. return $this->conversionTimestamp;
  302. }
  303. /**
  304. * @param string
  305. */
  306. public function setCountMillis($countMillis)
  307. {
  308. $this->countMillis = $countMillis;
  309. }
  310. /**
  311. * @return string
  312. */
  313. public function getCountMillis()
  314. {
  315. return $this->countMillis;
  316. }
  317. /**
  318. * @param string
  319. */
  320. public function setCriterionId($criterionId)
  321. {
  322. $this->criterionId = $criterionId;
  323. }
  324. /**
  325. * @return string
  326. */
  327. public function getCriterionId()
  328. {
  329. return $this->criterionId;
  330. }
  331. /**
  332. * @param string
  333. */
  334. public function setCurrencyCode($currencyCode)
  335. {
  336. $this->currencyCode = $currencyCode;
  337. }
  338. /**
  339. * @return string
  340. */
  341. public function getCurrencyCode()
  342. {
  343. return $this->currencyCode;
  344. }
  345. /**
  346. * @param CustomDimension[]
  347. */
  348. public function setCustomDimension($customDimension)
  349. {
  350. $this->customDimension = $customDimension;
  351. }
  352. /**
  353. * @return CustomDimension[]
  354. */
  355. public function getCustomDimension()
  356. {
  357. return $this->customDimension;
  358. }
  359. /**
  360. * @param CustomMetric[]
  361. */
  362. public function setCustomMetric($customMetric)
  363. {
  364. $this->customMetric = $customMetric;
  365. }
  366. /**
  367. * @return CustomMetric[]
  368. */
  369. public function getCustomMetric()
  370. {
  371. return $this->customMetric;
  372. }
  373. /**
  374. * @param string
  375. */
  376. public function setDeviceType($deviceType)
  377. {
  378. $this->deviceType = $deviceType;
  379. }
  380. /**
  381. * @return string
  382. */
  383. public function getDeviceType()
  384. {
  385. return $this->deviceType;
  386. }
  387. /**
  388. * @param string
  389. */
  390. public function setDsConversionId($dsConversionId)
  391. {
  392. $this->dsConversionId = $dsConversionId;
  393. }
  394. /**
  395. * @return string
  396. */
  397. public function getDsConversionId()
  398. {
  399. return $this->dsConversionId;
  400. }
  401. /**
  402. * @param string
  403. */
  404. public function setEngineAccountId($engineAccountId)
  405. {
  406. $this->engineAccountId = $engineAccountId;
  407. }
  408. /**
  409. * @return string
  410. */
  411. public function getEngineAccountId()
  412. {
  413. return $this->engineAccountId;
  414. }
  415. /**
  416. * @param string
  417. */
  418. public function setFloodlightOrderId($floodlightOrderId)
  419. {
  420. $this->floodlightOrderId = $floodlightOrderId;
  421. }
  422. /**
  423. * @return string
  424. */
  425. public function getFloodlightOrderId()
  426. {
  427. return $this->floodlightOrderId;
  428. }
  429. /**
  430. * @param string
  431. */
  432. public function setInventoryAccountId($inventoryAccountId)
  433. {
  434. $this->inventoryAccountId = $inventoryAccountId;
  435. }
  436. /**
  437. * @return string
  438. */
  439. public function getInventoryAccountId()
  440. {
  441. return $this->inventoryAccountId;
  442. }
  443. /**
  444. * @param string
  445. */
  446. public function setProductCountry($productCountry)
  447. {
  448. $this->productCountry = $productCountry;
  449. }
  450. /**
  451. * @return string
  452. */
  453. public function getProductCountry()
  454. {
  455. return $this->productCountry;
  456. }
  457. /**
  458. * @param string
  459. */
  460. public function setProductGroupId($productGroupId)
  461. {
  462. $this->productGroupId = $productGroupId;
  463. }
  464. /**
  465. * @return string
  466. */
  467. public function getProductGroupId()
  468. {
  469. return $this->productGroupId;
  470. }
  471. /**
  472. * @param string
  473. */
  474. public function setProductId($productId)
  475. {
  476. $this->productId = $productId;
  477. }
  478. /**
  479. * @return string
  480. */
  481. public function getProductId()
  482. {
  483. return $this->productId;
  484. }
  485. /**
  486. * @param string
  487. */
  488. public function setProductLanguage($productLanguage)
  489. {
  490. $this->productLanguage = $productLanguage;
  491. }
  492. /**
  493. * @return string
  494. */
  495. public function getProductLanguage()
  496. {
  497. return $this->productLanguage;
  498. }
  499. /**
  500. * @param string
  501. */
  502. public function setQuantityMillis($quantityMillis)
  503. {
  504. $this->quantityMillis = $quantityMillis;
  505. }
  506. /**
  507. * @return string
  508. */
  509. public function getQuantityMillis()
  510. {
  511. return $this->quantityMillis;
  512. }
  513. /**
  514. * @param string
  515. */
  516. public function setRevenueMicros($revenueMicros)
  517. {
  518. $this->revenueMicros = $revenueMicros;
  519. }
  520. /**
  521. * @return string
  522. */
  523. public function getRevenueMicros()
  524. {
  525. return $this->revenueMicros;
  526. }
  527. /**
  528. * @param string
  529. */
  530. public function setSegmentationId($segmentationId)
  531. {
  532. $this->segmentationId = $segmentationId;
  533. }
  534. /**
  535. * @return string
  536. */
  537. public function getSegmentationId()
  538. {
  539. return $this->segmentationId;
  540. }
  541. /**
  542. * @param string
  543. */
  544. public function setSegmentationName($segmentationName)
  545. {
  546. $this->segmentationName = $segmentationName;
  547. }
  548. /**
  549. * @return string
  550. */
  551. public function getSegmentationName()
  552. {
  553. return $this->segmentationName;
  554. }
  555. /**
  556. * @param string
  557. */
  558. public function setSegmentationType($segmentationType)
  559. {
  560. $this->segmentationType = $segmentationType;
  561. }
  562. /**
  563. * @return string
  564. */
  565. public function getSegmentationType()
  566. {
  567. return $this->segmentationType;
  568. }
  569. /**
  570. * @param string
  571. */
  572. public function setState($state)
  573. {
  574. $this->state = $state;
  575. }
  576. /**
  577. * @return string
  578. */
  579. public function getState()
  580. {
  581. return $this->state;
  582. }
  583. /**
  584. * @param string
  585. */
  586. public function setStoreId($storeId)
  587. {
  588. $this->storeId = $storeId;
  589. }
  590. /**
  591. * @return string
  592. */
  593. public function getStoreId()
  594. {
  595. return $this->storeId;
  596. }
  597. /**
  598. * @param string
  599. */
  600. public function setType($type)
  601. {
  602. $this->type = $type;
  603. }
  604. /**
  605. * @return string
  606. */
  607. public function getType()
  608. {
  609. return $this->type;
  610. }
  611. }
  612. // Adding a class alias for backwards compatibility with the previous class name.
  613. class_alias(Conversion::class, 'Google_Service_Doubleclicksearch_Conversion');