public function __construct(Data_Campaign $campaign)
 {
     parent::__construct(self::$method);
     $this->_campaign = $campaign;
     $this->setParameters($campaign->getFields());
     $this->setAuthRequired(true);
 }
Example #2
0
 public function __construct(array $campaignIds = array(), array $bannerIds = array(), $getPhrases = NULL, array $filter = array())
 {
     parent::__construct(self::$method);
     $this->setAuthRequired(true);
     $parameters = array();
     if (!empty($campaignIds)) {
         $parameters["CampaignIDS"] = $campaignIds;
     }
     if (!empty($bannerIds)) {
         $parameters["BannerIDS"] = $bannerIds;
     }
     if (!empty($filter)) {
         $parameters["Filter"] = $filter;
     }
     $parameters["GetPhrases"] = Utils::ifsetor($getPhrases, "Yes");
     $this->setParameters($parameters);
 }
 public function __construct($reportId)
 {
     parent::__construct(self::$method);
     $this->setScalarParameter($reportId);
     $this->setAuthRequired(true);
 }
Example #4
0
 public function __construct()
 {
     parent::__construct(self::$method);
     $this->setAuthRequired(true);
 }
Example #5
0
 public function __construct()
 {
     parent::__construct(self::$method);
 }
Example #6
0
 public function __construct($ids = array())
 {
     parent::__construct(self::$method);
     $this->setParameters(Utils::ifsetor($ids, array()));
     $this->setAuthRequired(true);
 }
Example #7
0
 public function __construct(array $phrases = array(), array $categories = array(), array $geoIds = array())
 {
     parent::__construct(self::$method);
     $this->setAuthRequired(true);
     $this->setParameters(array("Phrases" => $phrases, "GeoID" => $geoIds, "Categories" => $categories));
 }
Example #8
0
 public function __construct(array $ids = array())
 {
     parent::__construct(self::$method);
     $this->setAuthRequired(true);
     $this->setParameters($ids);
 }
 public function __construct($keywords = array())
 {
     parent::__construct(self::$method);
     $this->setAuthRequired(true);
     $this->setParameters(array("Keywords" => $keywords));
 }