/**
     * returns campaign object from campaign ID stored in request parameter
     */
    private function getCampaignFromParameter(Pap_Contexts_Action $context) {
        $context->debug('Trying to get campaign from request parameter '.Pap_Tracking_ActionRequest::PARAM_ACTION_CAMPAIGNID);

        $campaignId = $context->getCampaignIdFromRequest();

        if($campaignId == '') {
            $this->logAndThrow($context, 'Campaign ID request parameter is empty');
        }

        $context->debug('Checking campaign with Id: '.$campaignId);
        return $this->getCampaignById($context, $campaignId);
    }