/**
  * returns campaign object from standard parameter from request
  *
  * @return string
  */
 protected function getCampaignFromParameter(Pap_Contexts_Tracking $context) {
     $campaignId = $context->getCampaignId();
     if($campaignId != '') {
         $context->debug("Getting affiliate from request parameter. Campaign Id: ".$campaignId);
         return $this->getCampaignById($context, $campaignId);
     }
     $this->logAndThrow($context, "Campaign not found in parameter");
 }