public function addGoal(
        $name,
        $matchAttribute,
        $pattern,
        $patternType,
        $caseSensitive = '',
        $revenue = '',
        $allowMultipleConversionsPerVisit = '',
        array $optional = []
    )
    {
        return $this->_request('Goals.addGoal', [
            'name' => $name,
            'matchAttribute' => $matchAttribute,
            'pattern' => $pattern,
            'patternType' => $patternType,
            'caseSensitive' => $caseSensitive,
            'revenue' => $revenue,
            'allowMultipleConversionsPerVisit' => $allowMultipleConversionsPerVisit,
        ], $optional);
    }