/**
  * @param array $fields
  * @param array $params
  * @return AdStats
  */
 public function getConversions(array $fields = array(), array $params = array())
 {
     return $this->getOneByConnection(AdStats::className(), $fields, $params, 'conversions');
 }
 /**
  * @param array $fields
  * @param array $params
  * @return Cursor
  */
 public function getStats(array $fields = array(), array $params = array())
 {
     return $this->getManyByConnection(AdStats::className(), $fields, $params, 'stats');
 }